ó
xiù\c           @   sm   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 d e f d „  ƒ  YZ d S(   sÌ   
    pygments.lexers.rnc
    ~~~~~~~~~~~~~~~~~~~

    Lexer for Relax-NG Compact syntax

    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
iÿÿÿÿ(   t
   RegexLexer(   t   Textt   Commentt   Operatort   Keywordt   Namet   Stringt   Punctuationt   RNCCompactLexerc           B   s/  e  Z d  Z d Z d d g Z d g Z i 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 6d e j f d e d f g d 6d e d f d e d f d e f g d 6d e j f d e f d	 e j f d e d f d e f g d 6Z RS(   sX   
    For `RelaxNG-compact <http://relaxng.org>`_ syntax.

    .. versionadded:: 2.2
    s   Relax-NG Compactt   rncs   rng-compacts   *.rncs   namespace\bs   (?:default|datatypes)\bs   ##.*$s   #.*$s   "[^"]*"s   (?:element|attribute|mixed)\bt   variables   (text\b|xsd:[^ ]+)t   maybe_xsdattributess   [,?&*=|~]|>>s   [(){}]t   .t   roots   [^{]+s   \{s   #popt   xsdattributess   \}s   [^ =}]t   =(   t   __name__t
   __module__t   __doc__t   namet   aliasest	   filenamesR   t	   Namespacet   DeclarationR   t   Preproct   SingleR   t   Doublet   TypeR   R   R   R   t   Variablet	   Attributet   tokens(    (    (    s2   lib/python2.7/site-packages/pygments/lexers/rnc.pyR      s2   				N(   R   t   pygments.lexerR    t   pygments.tokenR   R   R   R   R   R   R   t   __all__R   (    (    (    s2   lib/python2.7/site-packages/pygments/lexers/rnc.pyt   <module>
   s   4	