
    Mh                     |    d Z ddlZddlmZmZmZmZmZmZ ddl	m
Z
mZmZmZmZmZmZmZ dgZ G d de          ZdS )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                   ~   e Zd ZdZdZdZdgZddgZdZe	j
        e	j        z  Z ed           ed	           ed
           ed           ed           ed           ed          gdefgd eeee          fd eeeeee          fd eeee          fd eeeeee          fd eeee          fd eeeeee          fd eeee          fd eeee          fd eeee          fd eeee          fd eeee          fd eeeeee          fd eeee          fd eeeeee          f edd           efgd! ee ee          e          fd" ee ee          e          fd# ee ee          e          fd$efd%efd&efgd'efd(ej        fgd)efgd*efd+efgd,ej        fgd-Zd.S )/r   zL
    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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)\b)%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collectz\b)suffixz(-\[)(.*?)(\]->)z(<-\[)(.*?)(\]-)z(-\[)(.*?)(\]-)z-->|<--|\[|\]z<|>|<>|=|<=|=>|\(|\)|\||:|,|;z[.*{}]z#([\'"])(?:\\[tbnrf\'"\\]|[^\\])*?\1z`(?:``|[^`])+`z\s+z[a-z]\w*z\d+z//.*$)rootr   r   r   r   r   r   r   N)__name__
__module____qualname____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     U/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/pygments/lexers/graph.pyr   r      sD        
 D
?CjG*%IML2=(E GIGJGK  GIGL!!GK  GI
45<>
 .*g6687*gz7KKM#*g668+*gz7KKM(*g668-*gz7KKM)*g668(*g668"*g668%*g668#*g6685*gz7KKM%*g668<*dJHHJU G
 PUV V V
 X_`=$
L !((8UU4[[("K"KL ((8UU4[[("K"KL(EE$KK!J!JKx(-{;$
 4V<.

 Z 
 $V

 w~&
MI IFFFrT   )rF   rL   pygments.lexerr   r   r   r   r   r   pygments.tokenr	   r
   r   r   r   r   r   r   __all__r   rS   rT   rU   <module>rY      s     
			 L L L L L L L L L L L L L L L L                    /W W W W W* W W W W WrT   