a
    ;@b®  ã                   @   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-2021 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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
   zX
    For `RelaxNG-compact <http://relaxng.org>`_ syntax.

    .. versionadded:: 2.2
    zRelax-NG Compactzrng-compactZ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ÚaliasesÚ	filenamesr   Ú	NamespaceZDeclarationr   ZPreprocÚSingler   ÚDoubleÚTyper   r	   r   r   ZVariableZ	AttributeÚtokens© r   r   ú2lib/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   
$