File: //opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/__pycache__/rnc.cpython-310.pyc
o
;j� � @ sN d Z ddlmZ ddlmZmZmZmZmZm Z m
Z
dgZG dd� de�ZdS )z�
pygments.lexers.rnc
~~~~~~~~~~~~~~~~~~~
Lexer for Relax-NG Compact syntax
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� )�
RegexLexer)�Text�Comment�Operator�Keyword�Name�String�Punctuation�RNCCompactLexerc @ s� e Zd ZdZdZdZddgZdgZdZde j
fd e jfd
ej
fdejfdejfd
e jdfde jdfdefdefdefg
dejfdedfgdedfdedfdefgdejfdefdejfdedfdefgd�ZdS )r
z%
For RelaxNG-compact syntax.
zRelax-NG Compactzhttp://relaxng.orgzrng-compactZrncz*.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� filenamesZ
version_addedr � NamespaceZDeclarationr ZPreproc�Singler �Double�Typer r r r ZVariableZ Attribute�tokens� r r �G/opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/rnc.pyr
s@
����
�N)
r Zpygments.lexerr Zpygments.tokenr r r r r r r �__all__r
r r r r �<module> s
$