YBFj|dZddlZddlmZmZmZmZmZmZddl m Z m Z m Z m Z mZmZmZmZdgZGddeZdS)z pygments.lexers.graph ~~~~~~~~~~~~~~~~~~~~~ Lexers for graph query languages. :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. N) RegexLexerincludebygroupsusingthiswords)Keyword PunctuationCommentOperatorNameStringNumber Whitespace CypherLexerc~eZdZdZdZdZdgZddgZdZe j e j zZ e de d e d e d e d e d e dgdefgdeeeefdeeeeeefdeeeefdeeeeeefdeeeefdeeeeeefdeeeefdeeeefdeeeefdeeeefdeeeefdeeeeeefdeeeefdeeeeeefedd efgd!eeeeefd"eeeeefd#eeeeefd$efd%efd&efgd'efd(ejfgd)efgd*efd+efgd,ejfgd-Zd.S)/rzL For Cypher Query Language For the Cypher version in Neo4j 3.3 Cypherz3https://neo4j.com/docs/developer-manual/3.3/cypher/cypherz*.cypz*.cypherz2.0clauseskeywords relationsstrings whitespace barewordscommentz^(create|order|match|limit|set|skip|start|return|with|where|delete|foreach|not|by|true|false)\bz(create)(\s+)(index|unique)\bz'(drop)(\s+)(contraint|index)(\s+)(on)\bz(ends)(\s+)(with)\bz(is)(\s+)(node)(\s+)(key)\bz(is)(\s+)(null|unique)\bz(load)(\s+)(csv)(\s+)(from)\bz(on)(\s+)(match|create)\bz(optional)(\s+)(match)\bz(order)(\s+)(by)\bz(starts)(\s+)(with)\bz(union)(\s+)(all)\bz%(using)(\s+)(periodic)(\s+)(commit)\bz(using)(\s+)(index)\bz,(using)(\s+)(range|text|point)(\s+)(index)\b)%allanyasasc ascendingassertcallcasecreatedeletedesc descendingdistinctendfieldterminatorforeachinlimitmatchmergenonenotnullremovereturnsetskipsinglestartthenunionunwindyieldwherewhenwithcollectz\b)suffixz(-\[)(.*?)(\]->)z(<-\[)(.*?)(\]-)z(-\[)(.*?)(\]-)z -->|<--|\[|\]z<|>|<>|=|<=|=>|\(|\)|\||:|,|;z[.*{}]z#([\'"])(?:\\[tbnrf\'"\\]|[^\\])*?\1z`(?:``|[^`])+`z\s+z[a-z]\w*z\d+z//.*$)rootrrrrrrrN)__name__ __module__ __qualname____doc__nameurlaliases filenames version_addedre MULTILINE IGNORECASEflagsrr rrr rr rrr rVariablerr SingletokensCC:\PYTHON\_runtimes\venv\Lib\site-packages\pygments/lexers/graph.pyrrsD D ?CjG*%IM L2= (E GI   GJ   GK GI   GL ! ! GK GI   45< > .*g66 8 7*gz7KK M #*g66 8 +*gz7KK M (*g66 8 -*gz7KK M )*g66 8 (*g66 8 "*g66 8 %*g66 8 #*g66 8 5*gz7KK M %*g66 8 <*dJHH J UG PU VVV X_  `=$ L!((8UU4[[("K"K L ((8UU4[[("K"K L (EE$KK!J!J K x ( -{ ;  $  4V <  . Z  $  V  w~ & MIIFFFrT)rFrLpygments.lexerrrrrrrpygments.tokenr r r r r rrr__all__rrSrTrUrYs LLLLLLLLLLLLLLLL /WWWWW*WWWWWrT