+
    TBi                     v    R t ^ RIt^ RIHtHtHtHtHtHt ^ RI	H
t
HtHtHtHtHtHtHt R.t ! R R]4      tR# )z
pygments.lexers.graph
~~~~~~~~~~~~~~~~~~~~~

Lexers for graph query languages.

:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
N)
RegexLexerincludebygroupsusingthiswords)KeywordPunctuationCommentOperatorNameStringNumber
WhitespaceCypherLexerc                      ] tR t^tRtRtRtR.tRR.tRt	]
P                  ]
P                  ,          tR]! R	4      ]! R
4      ]! R4      ]! R4      ]! R4      ]! R4      ]! R4      .R
R]3.R	R]! ]]]4      3R]! ]]]]]4      3R]! ]]]4      3R]! ]]]]]4      3R]! ]]]4      3R]! ]]]]]4      3R]! ]]]4      3R]! ]]]4      3R]! ]]]4      3R]! ]]]4      3R]! ]]]4      3R]! ]]]]]4      3R]! ]]]4      3R]! ]]]]]4      3]! R/RR 7      ]3.RR!]! ]]! ]4      ]4      3R"]! ]]! ]4      ]4      3R#]! ]]! ]4      ]4      3R$]3R%]3R&]3.RR']3R(]P2                  3.RR)]3.RR*]3R+]3.RR,]P8                  3./tR-tR.# )0r   z@
For Cypher Query Language

For the Cypher version in Neo4j 3.3
Cypherz3https://neo4j.com/docs/developer-manual/3.3/cypher/cypherz*.cypz*.cypherz2.0rootclauseskeywords	relationsstrings
whitespace	barewordscommentz^(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)\bz\b)suffixz(-\[)(.*?)(\]->)z(<-\[)(.*?)(\]-)z(-\[)(.*?)(\]-)z-->|<--|\[|\]z<|>|<>|=|<=|=>|\(|\)|\||:|,|;z[.*{}]z#([\'"])(?:\\[tbnrf\'"\\]|[^\\])*?\1z`(?:``|[^`])+`z\s+z[a-z]\w*z\d+z//.*$ N)%allanyasasc	ascendingassertcallcasecreatedeletedesc
descendingdistinctendfieldterminatorforeachinlimitmatchmergenonenotnullremovereturnsetskipsinglestartthenunionunwindyieldwherewhenwithcollect)__name__
__module____qualname____firstlineno____doc__nameurlaliases	filenamesversion_addedre	MULTILINE
IGNORECASEflagsr   r   r   r   r   r   r   r   r   r	   r   Variabler   r
   Singletokens__static_attributes__r       :/usr/lib/python3.14/site-packages/pygments/lexers/graph.pyr   r      s   
 D
?CjG*%IMLL2==(E 	IJK IL!K I
 	45<>
 	-*g687*gz7KM#*g68+*gz7KM(*g68-*gz7KM)*g68(*g68"*g68%*g68#*g685*gz7KM%*g68<*dJHJ G
 PUV
 X_`=$
J 	 (8U4[("KL (8U4[("KL(E$K!JKx(-{;$
 	3V<.
 	Z 
 	$V
 	w~~&
MIFrU   )rG   rM   pygments.lexerr   r   r   r   r   r   pygments.tokenr   r	   r
   r   r   r   r   r   __all__r   r   rU   rV   <module>rZ      s;    
 L L   /W* WrU   