
    L&i                     \    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dS )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                      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dS )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     `/home/geonatureadmin/si_en_reseau/tutos/venv/lib/python3.11/site-packages/pygments/lexers/rnc.pyr   r      s          D
Ce$G	I W./')<=w'gn%' .w/BJO"GL2GHh'$4L
" t}%K(
 K1K(4L 
 '8'K(4L
=% %FFFr&   N)r   pygments.lexerr   pygments.tokenr   r   r   r   r   r	   r
   __all__r   r%   r&   r'   <module>r+      s     & % % % % %                  
1 1 1 1 1j 1 1 1 1 1r&   