3 ��X� � @ 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 �/usr/lib/python3.6/rnc.pyr s0 N) r Zpygments.lexerr Zpygments.tokenr r r r r r r �__all__r r r r r �<module> s $