3

V'ícµã@sNdZddlmZddlmZmZmZmZmZm	Z	m
Z
dgZGdd„deƒZdS)zÌ
    pygments.lexers.rnc
    ~~~~~~~~~~~~~~~~~~~

    Lexer for Relax-NG Compact syntax

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexer)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚPunctuationÚRNCCompactLexerc@sÌeZdZdZdZdZddgZdgZdej	fdej
fd	ejfd
ej
fdejfdej
d
fdejdfdefdefdefg
dejfdedfgdedfdedfdefgdejfdefdejfdedfdefgdœZdS)r
z@
    For RelaxNG-compact syntax.

    .. versionadded:: 2.2
    zRelax-NG Compactzhttp://relaxng.orgzrng-compactZrncz*.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[^ =}]ú=)ÚrootrrrN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesrÚ	NamespaceZDeclarationrZPreprocÚSinglerÚDoubleÚTyperr	rrÚVariableÚ	AttributeÚtokens©r r ú7/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/rnc.pyr
s2


N)
rZpygments.lexerrZpygments.tokenrrrrrrr	Ú__all__r
r r r r!Ú<module>	s$