| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/ |
Upload File : |
a
SҼaz � @ 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-2021 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.9/site-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