ó
´k[Tc           @   s   d  Z  d d l m Z m Z m Z d d l m Z 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.chapel
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexer for the Chapel language.

    :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
iÿÿÿÿ(   t
   RegexLexert   bygroupst   words(   t   Textt   Commentt   Operatort   Keywordt   Namet   Stringt   Numbert   Punctuationt   ChapelLexerc        :   B   s‹  e  Z d  Z d Z d g Z d d g Z i d e f d e f d e f d e j f d	 e j	 f d
 e
 j f d e
 j f d e
 j f e dS d= d> ƒe
 f d? e e
 e ƒ d@ f dA e e
 e ƒ dB f dC e f dD e f dE e f dF e f dG e j f dH e j f dI e j f dJ e j f dK e j f dL e j f dM e f dN e f dO e f dP e j f g dQ 6dP e j dR f g dB 6dP e j dR f g d@ 6Z RS(T   sT   
    For `Chapel <http://chapel.cray.com/>`_ source.

    .. versionadded:: 2.0
    t   Chapels   *.chplt   chapelt   chpls   \ns   \s+s   \\\ns	   //(.*?)\ns   /(\\\n)?[*](.|\n)*?[*](\\\n)?/s0   (config|const|in|inout|out|param|ref|type|var)\bs   (false|nil|true)\bs7   (bool|complex|imag|int|opaque|range|real|string|uint)\bt   alignt   atomict   begint   breakt   byt   cobegint   coforallt   continuet   deletet   dmappedt   dot   domaint   elset   enumt   exportt   externt   fort   forallt   ift   indext   inlinet   itert   labelt   lambdat   lett   localt   newt   noinitt   ont	   otherwiset   pragmat   reducet   returnt   scant   selectt   serialt   singlet   sparset	   subdomaint   synct   thent   uset   whent   wheret   whilet   witht   yieldt   zipt   suffixs   \bs   (proc)((?:\s|\\\s)+)t   procnames    (class|module|record|union)(\s+)t	   classnames   \d+is   \d+\.\d*([Ee][-+]\d+)?is   \.\d+([Ee][-+]\d+)?is   \d+[Ee][-+]\d+is   (\d*\.\d+)([eE][+-]?[0-9]+)?i?s   \d+[eE][+-]?[0-9]+i?s
   0[bB][01]+s   0[xX][0-9a-fA-F]+s   0[oO][0-7]+s   [0-9]+s   ["\'](\\\\|\\"|[^"\'])*["\']sˆ   (=|\+=|-=|\*=|/=|\*\*=|%=|&=|\|=|\^=|&&=|\|\|=|<<=|>>=|<=>|<~>|\.\.|by|#|\.\.\.|&&|\|\||!|&|\||\^|~|<<|>>|==|!=|<=|>=|<|>|[+\-*/%]|\*\*)s   [:;,.?()\[\]{}]s   [a-zA-Z_][\w$]*t   roots   #pop(0   R   R   R   R   R   R   R   R   R   R   R   R   s   elseR   R   R   R   R    R!   s   indexR#   s   iterR%   s   lambdaR'   R(   s   newR*   R+   R,   R-   s   reduceR/   s   scanR1   s   serialR3   R4   R5   R6   R7   R8   R9   R:   R;   R<   R=   s   zip(   t   __name__t
   __module__t   __doc__t   namet	   filenamest   aliasesR   R   t   Singlet	   MultilineR   t   Declarationt   Constantt   TypeR   R   R	   t   Floatt   Bint   Hext   Octt   IntegerR   R   R
   R   t   Othert   Classt   Functiont   tokens(    (    (    s:   /usr/lib/python2.7/dist-packages/pygments/lexers/chapel.pyR      sX   						      						N(   RE   t   pygments.lexerR    R   R   t   pygments.tokenR   R   R   R   R   R   R	   R
   t   __all__R   (    (    (    s:   /usr/lib/python2.7/dist-packages/pygments/lexers/chapel.pyt   <module>
   s   :	