
    |e                     T    d Z ddlmZmZ ddlmZmZmZmZm	Z	m
Z
 dgZ G d de      Zy)z
    pygments.lexers.capnproto
    ~~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for the Cap'n Proto schema language.

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexerdefault)TextCommentKeywordNameLiteral
WhitespaceCapnProtoLexerc                   L   e Zd ZdZdZdZdgZdgZdej                  fde
j                  fded	fd
e
j                  dfde
j                  dfdefde
fdefdefg	de
j                  fde
j                  df ed      gde
j                  fde
j                  dfde
j                  df ed      gdefdedf ed      gdefdedfdedf ed      gde
j                  fde
j                  df ed      gde
j                  fde
j                  dfde
j                  df ed      gdZy)r   z<
    For Cap'n Proto source.

    .. versionadded:: 2.2
    zCap'n Protozhttps://capnproto.orgz*.capnpcapnpz#.*?$z@[0-9a-zA-Z]*=
expression:typez\$
annotationza(struct|enum|interface|union|import|using|const|annotation|extends|in|of|on|as|with|from|fixed)\bz[\w.]+z[^#@=:$\w\s]+z\s+z[^][=;,(){}$]+z[\[(]	parentypez#popz	[^][;()]+z#pushz[])]z[^][;,(){}$]+parenexpz[^][;,(){}=:]+annexp)rootr   r   r   r   r   r   N)__name__
__module____qualname____doc__nameurl	filenamesaliasesr   Singler   	Decoratorr	   Class	Attributer   r   r
   r   tokens     ;/usr/lib/python3/dist-packages/pygments/lexers/capnproto.pyr   r      s   
 D
!CIiG w~~&t~~.7L)4::v&DNNL17 t$Z 
 

+tzz;/FO
 4::&tzz7+djj&)FO	
 w'w
+FO
 7#w(gv&FO	
 /t~~x0FO
 4>>*t~~w/dnnf-FO	
S/Fr%   N)r   pygments.lexerr   r   pygments.tokenr   r   r   r   r	   r
   __all__r   r$   r%   r&   <module>r*      s)    / L L
:Z :r%   