File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/rnc.cpython-38.pyc
U
`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-2017 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 CompactZrnczrng-compactz*.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 Z NamespaceZDeclarationr ZPreproc�Singler �DoubleZTyper r r r ZVariableZ Attribute�tokens� r r �5/usr/lib/python3/dist-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
$