File: //opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/__pycache__/rnc.cpython-311.pyc
�
�;f� � �\ � d Z ddlmZ ddlmZmZmZmZmZm Z m
Z
dgZ G d� de� � ZdS )z�
pygments.lexers.rnc
~~~~~~~~~~~~~~~~~~~
Lexer for Relax-NG Compact syntax
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� )�
RegexLexer)�Text�Comment�Operator�Keyword�Name�String�Punctuation�RNCCompactLexerc �" � e Zd ZdZdZdZddgZdgZdZde j
fd e j fd
ej
fdej fdej fd
e j dfde j dfdefdefdefg
dej fdedfgdedfdedfdefgdej fdefdej fdedfdefgd�ZdS )r z%
For RelaxNG-compact syntax.
zRelax-NG Compactzhttp://relaxng.orgzrng-compact�rncz*.rncz2.2znamespace\bz(?:default|datatypes)\bz##.*$z#.*$z"[^"]*"z(?:element|attribute|mixed)\b�variablez(text\b|xsd:[^ ]+)�maybe_xsdattributesz[,?&*=|~]|>>z[(){}]�.z[^{]+z\{z#pop�
xsdattributesz\}z[^ =}]�=)�rootr r r N)�__name__�
__module__�__qualname__�__doc__�name�url�aliases� filenames�
version_addedr � Namespace�Declarationr �Preproc�Singler �Double�Typer r
r r �Variable� Attribute�tokens� � �F/opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/rnc.pyr r s% � � � � � �� � �D�
�C��e�$�G�� �I��M� �W�.�/�
'��)<�=�
�w��'�
�g�n�%�
���'� .�w�/B�J�O�
"�G�L�2G�H�
�h�'�
��$�
�4�L�
�"