File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/capnproto.cpython-38.pyc
U
G�
\� � @ sR d Z ddlZddlmZmZ ddlmZmZmZm Z m
Z
dgZG dd� de�ZdS )z�
pygments.lexers.capnproto
~~~~~~~~~~~~~~~~~~~~~~~~~
Lexers for the Cap'n Proto schema language.
:copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�
RegexLexer�default)�Text�Comment�Keyword�Name�Literal�CapnProtoLexerc @ s" e Zd ZdZdZdgZdgZejej B Z
dejfde
jfdedfd e
jd
fde
jdfd
efde
fdefgde
jfde
jdfed�gde
jfde
jdfde
jdfed�gdefdedfed�gdefdedfdedfed�gde
jfde
jdfed�gde
jfde
jdfde
jdfed�gd�ZdS )r zW
For `Cap'n Proto <https://capnproto.org>`_ source.
.. versionadded:: 2.2
zCap'n Protoz*.capnpZcapnpz#.*?$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]+z[^][=;,(){}$]+z[\[(]� parentypez#popz [^][;()]+z#pushz[])]z
[^][;,(){}$]+�parenexpz[^][;,(){}=:]+�annexp)�rootr
r r r r r N)�__name__�
__module__�__qualname__�__doc__�name� filenames�aliases�re� MULTILINE�UNICODE�flagsr �Singler Z Decoratorr ZClassZ Attributer r r �tokens� r r �;/usr/lib/python3/dist-packages/pygments/lexers/capnproto.pyr sX
��
�
���
�
��)
r r Zpygments.lexerr r Zpygments.tokenr r r r r �__all__r r r r r! �<module> s