File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/rnc.cpython-310.pyc
o
���a� � @ 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-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� )�
RegexLexer)�Text�Comment�Operator�Keyword�Name�String�Punctuation�RNCCompactLexerc @ s� e Zd ZdZdZddgZdgZdejfdej fde
jfd e
jfd
e
jfdej dfd
ejdfdefdefdefg
dejfdedfgdedfdedfdefgdejfdefd
e
jfdedfdefgd�ZdS )r
zX
For `RelaxNG-compact <http://relaxng.org>`_ syntax.
.. versionadded:: 2.2
zRelax-NG Compactzrng-compact�rncz*.rncznamespace\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�aliases� filenamesr � Namespace�Declarationr �Preproc�Singler �Double�Typer r r r �Variable� Attribute�tokens� r"