o
    ¯3IhŽ  ã                   @   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-2025 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
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   z6
    For graphviz DOT graph description language.
    ÚGraphvizz+https://www.graphviz.org/doc/info/lang.htmlÚgraphvizÚdotz*.gvz*.dotztext/x-graphvizztext/vnd.graphvizz2.8z\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Ú	mimetypesÚversion_addedr   r   ÚSingleÚ	Multiliner   r   r
   r   r   Ú	AttributeÚBuiltinÚTagr	   r   ÚDoubleÚtokens© r'   r'   úX/home/air/sanwanet/gpt-api/venv/lib/python3.10/site-packages/pygments/lexers/graphviz.pyr      sF    þò
üü
éN)r   Úpygments.lexerr   r   Úpygments.tokenr   r   r   r   r   r	   r
   r   Ú__all__r   r'   r'   r'   r(   Ú<module>   s
    
(