File: //lib/python3/dist-packages/pygments/lexers/__pycache__/capnproto.cpython-311.pyc
�
�E�c � �\ � d Z ddlmZmZ ddlmZmZmZmZm Z m
Z
dgZ G d� de� � ZdS )z�
pygments.lexers.capnproto
~~~~~~~~~~~~~~~~~~~~~~~~~
Lexers for the Cap'n Proto schema language.
:copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� )�
RegexLexer�default)�Text�Comment�Keyword�Name�Literal�
Whitespace�CapnProtoLexerc �� � e Zd ZdZdZdZdgZdgZdej fde
j fded fd
e
j
dfde
j d
fdefde
fdefdefg de
j
fde
j
df ed� � gde
j
fde
j
dfde
j
df ed� � gdefdedf ed� � gdefdedfdedf ed� � gde
j fde
j df ed� � gde
j fde
j dfde
j df ed� � gd�ZdS )r z<
For Cap'n Proto source.
.. versionadded:: 2.2
zCap'n Protozhttps://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��i�G� �w�~�&�
�t�~�.�
�7�L�)�
�4�:�v�&�
�D�N�L�1�7�
�
� ���
�t�$�
�Z� �
� ��
�+�
�t�z�;�/��G�F�O�O�
� �4�:�&�
�t�z�7�+�
�d�j�&�)��G�F�O�O�
� �w�'�
�w�
�+��G�F�O�O�
� �7�#�
�w��(�
�g�v�&��G�F�O�O�
� ���/�
�t�~�x�0��G�F�O�O�
� �4�>�*�
�t�~�w�/�
�d�n�f�-��G�F�O�O�
�S/� /�F�F�Fr% N)
r �pygments.lexerr r �pygments.tokenr r r r r r
�__all__r r$ r% r&