o
    °­Rh´  ã                   @   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$   úU/home/air/sanwanet/backup_V2/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
    
$