Your IP : 216.73.216.213
B
ɽ�\� � @ 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-2019 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 ZClass� Attributer r r �tokens� r! r! �J/opt/alt/python37/lib/python3.7/site-packages/pygments/lexers/capnproto.pyr sF
)
r r Zpygments.lexerr r Zpygments.tokenr r r r r �__all__r r! r! r! r"