a
    ¨ˆc�  ã                   @   sV   d Z ddl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.graphviz
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Lexer for the DOT language (graphviz).

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚbygroups)ÚCommentÚKeywordÚOperatorÚNameÚStringÚNumberÚPunctuationÚ
WhitespaceÚGraphvizLexerc                   @   sÞ   e Zd ZdZdZdZddgZddgZdd	gZd
e	fde
jfde
jfdefdefdefdeeje	ee	ƒdfdejfdejfdefdejfdedfgdedfdedfdejdfdedfgdedfdedfd
e	fdejfgdœZdS )r   zQ
    For graphviz DOT graph description language.

    .. versionadded:: 2.8
    ZGraphvizz+https://www.graphviz.org/doc/info/lang.htmlZgraphvizÚdotz*.gvz*.dotztext/x-graphvizztext/vnd.graphvizz\s+z
(#|//).*?$z/(\\\n)?[*](.|\n)*?[*](\\\n)?/z/(?i)(node|edge|graph|digraph|subgraph|strict)\bz--|->z
[{}[\]:;,]z(\b\D\w*)(\s*)(=)(\s*)Úattr_idz\b(n|ne|e|se|s|sw|w|nw|c|_)\bz\b\D\w*z$[-]?((\.[0-9]+)|([0-9]+(\.[0-9]*)?))z"(\\"|[^"])*?"ú<Úxmlú#pop)r   r   z#pushú>z[^<>\s])Úrootr   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesr   r   ÚSingleZ	Multiliner   r   r
   r   r   Ú	AttributeZBuiltinÚTagr	   r   ÚDoubleÚtokens© r"   r"   ú[/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pygments/lexers/graphviz.pyr      sB   þò
üüéN)r   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   Ú__all__r   r"   r"   r"   r#   Ú<module>   s   
(