
    |e                     T    d Z ddlmZ ddlmZmZmZmZmZm	Z	m
Z
 dgZ G d de      Zy)z
    pygments.lexers.rnc
    ~~~~~~~~~~~~~~~~~~~

    Lexer for Relax-NG Compact syntax

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexer)TextCommentOperatorKeywordNameStringPunctuationRNCCompactLexerc                      e Zd ZdZdZdZddgZdgZdej                  fdej                  fd	ej                  fd
ej                  fdej                  fdej                  dfdej                   dfdefdefdefg
dej*                  fdedfgdedfdedfdefgdej,                  fdefdej                  fdedfdefgdZy)r   z@
    For RelaxNG-compact syntax.

    .. versionadded:: 2.2
    zRelax-NG Compactzhttp://relaxng.orgzrng-compactrncz*.rncznamespace\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	filenamesr   	NamespaceDeclarationr   PreprocSingler	   DoubleTyper   r
   r   r   Variable	Attributetokens     5/usr/lib/python3/dist-packages/pygments/lexers/rnc.pyr   r      s!    D
Ce$G	I W../')<)<=w'gnn%' .w/B/BJO"GLL2GHh'$4L
" t}}%K(
 K1K(4L 
 '8'K(4L
=%Fr&   N)r   pygments.lexerr   pygments.tokenr   r   r   r   r   r	   r
   __all__r   r%   r&   r'   <module>r+      s4    &   
1j 1r&   