o
    ůh                     @   sN   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 deZdS )z
    pygments.lexers.rnc
    ~~~~~~~~~~~~~~~~~~~

    Lexer for Relax-NG Compact syntax

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexer)TextCommentOperatorKeywordNameStringPunctuationRNCCompactLexerc                   @   s   e Zd ZdZdZdZddgZdgZd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.
    zRelax-NG Compactzhttp://relaxng.orgzrng-compactrncz*.rncz2.2z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	filenamesversion_addedr   	NamespaceDeclarationr   PreprocSingler   DoubleTyper   r	   r   r   Variable	Attributetokens r$   r$   P/var/www/Befach/backend/venv/lib/python3.10/site-packages/pygments/lexers/rnc.pyr
      s@    


N)r   pygments.lexerr   pygments.tokenr   r   r   r   r   r   r	   __all__r
   r$   r$   r$   r%   <module>   s
    
$