a
    ;@b                     @   sn   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 deZdS )z
    pygments.lexers.graph
    ~~~~~~~~~~~~~~~~~~~~~

    Lexers for graph query languages.

    :copyright: Copyright 2006-2021 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                   @   s  e Zd ZdZdZdgZddgZejej	B Z
edededed	ed
ededgdejf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ed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)Zd*S )+r   z
    For `Cypher Query Language
    <https://neo4j.com/docs/developer-manual/3.3/cypher/>`_

    For the Cypher version in Neo4j 3.3

    .. versionadded:: 2.0
    ZCypherZcypherz*.cypz*.cyphercommentclauseskeywords	relationsstrings
whitespace	barewordsz^.*//.*$z^(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)\b)$allanyasZascZ	ascendingassertcallZcaseZcreatedeleteZdescZ
descendingZdistinctendZfieldterminatorZforeachinlimitmatchmergeZnonenotZnullremovereturnsetskipZsinglestartZthenunionZunwindyieldwhereZwhenwithz\b)suffixz(-\[)(.*?)(\]->)z(<-\[)(.*?)(\]-)z(-\[)(.*?)(\]-)z-->|<--|\[|\]z<|>|<>|=|<=|=>|\(|\)|\||:|,|;z[.*{}]z"(?:\\[tbnrf\'"\\]|[^\\"])*"z`(?:``|[^`])+`z\s+z[a-z]\w*z\d+)rootr   r   r   r   r   r   r   N)__name__
__module____qualname____doc__namealiases	filenamesre	MULTILINE
IGNORECASEflagsr   r
   Singler   r   r   r   r   r   r   r	   r   r   ZVariabler   tokens r<   r<   4lib/python3.9/site-packages/pygments/lexers/graph.pyr      s   








"	)r2   r6   Zpygments.lexerr   r   r   r   r   r   Zpygments.tokenr   r	   r
   r   r   r   r   r   __all__r   r<   r<   r<   r=   <module>   s
   
 (