a
    ©lcµ  ã                   @   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-2022 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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© r#   r#   úO/var/www/html/django/DPS/env/lib/python3.9/site-packages/pygments/lexers/rnc.pyr
      s<   

ôþýûâN)r   Zpygments.lexerr   Zpygments.tokenr   r   r   r   r   r   r	   Ú__all__r
   r#   r#   r#   r$   Ú<module>   s   
$