B
    4[                 @   sZ   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G dd deZdS )z
    pygments.lexers.chapel
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexer for the Chapel language.

    :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexerbygroupswords)TextCommentOperatorKeywordNameStringNumberPunctuationChapelLexerc               @   s  e Zd ZdZdZdgZddgZ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dddefdeeedfdeeedfdeeedfdef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dejfd efd!efd"efd#efd$ejfgd$ejd%fgd&ejd%fgd'Zd(S ))r   zT
    For `Chapel <http://chapel.cray.com/>`_ source.

    .. versionadded:: 2.0
    ZChapelz*.chplZchapelZchplz\nz\s+z\\\nz	//(.*?)\nz/(\\\n)?[*](.|\n)*?[*](\\\n)?/z0(config|const|in|inout|out|param|ref|type|var)\bz(false|nil|true)\bz7(bool|complex|imag|int|opaque|range|real|string|uint)\b)?ZalignasZatomicZbeginZborrowedbreakZbyZcatchZcobeginZcoforallcontinuedeleteZdmappedZdoZdomainelseenumexceptZexportZexternforZforallifindexZinlineZlabellambdaZletZlocalnewZnoinitZonZonlyZ	otherwiseoverrideZownedZpragmaZprivateZ	prototypeZpublicreduceZrequirereturnscanZselectserialZsharedZsingleZsparseZ	subdomainsyncZthenthrowZthrowstryZ	unmanagedZuseZwhenwherewhilewithyieldzipz\b)suffixz(iter)((?:\s)+)procnamez(proc)((?:\s)+)z (class|module|record|union)(\s+)	classnamez\d+iz\d+\.\d*([Ee][-+]\d+)?iz\.\d+([Ee][-+]\d+)?iz\d+[Ee][-+]\d+iz(\d*\.\d+)([eE][+-]?[0-9]+)?i?z\d+[eE][+-]?[0-9]+i?z
0[bB][01]+z0[xX][0-9a-fA-F]+z0[oO][0-7]+z[0-9]+z"(\\\\|\\"|[^"])*"z'(\\\\|\\'|[^'])*'z(=|\+=|-=|\*=|/=|\*\*=|%=|&=|\|=|\^=|&&=|\|\|=|<<=|>>=|<=>|<~>|\.\.|by|#|\.\.\.|&&|\|\||!|&|\||\^|~|<<|>>|==|!=|<=|>=|<|>|[+\-*/%]|\*\*)z[:;,.?()\[\]{}]z[a-zA-Z_][\w$]*z#popz;([a-zA-Z_][.\w$]*|\~[a-zA-Z_][.\w$]*|[+*/!~%<>=&^|\-]{1,2}))rootr)   r(   N)__name__
__module____qualname____doc__name	filenamesaliasesr   r   SingleZ	Multiliner   ZDeclarationZConstantZTyper   r   r   ZFloatZBinZHexZOctZIntegerr
   r   r   r	   ZOtherZClassZFunctiontokens r4   r4   5lib/python3.7/site-packages/pygments/lexers/chapel.pyr      sR   

N)r.   Zpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   __all__r   r4   r4   r4   r5   <module>
   s   (