3
.ßL]ð  ã               @   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-2019 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚbygroupsÚwords)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚChapelLexerc            H   @   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dgdMdN�efdOeeeƒdPfdQeeeƒdPfdReeeƒdSfdTefdUefdVefdWefdXejfdYejfdZejfd[ejfd\ejfd]ejfd^efd_efd`efdaefdbejfgdbejdcfgddejdcfgdeœZdfS )hr   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ÚalignÚasÚatomicÚbeginÚborrowedÚbreakÚbyÚcatchÚcobeginÚcoforallÚcontinueÚdeleteÚdmappedÚdoÚdomainÚelseÚenumÚexceptÚexportÚexternÚforÚforallÚifÚindexÚinlineÚlabelÚlambdaÚletÚlocalÚnewÚnoinitÚonÚonlyÚ	otherwiseÚoverrideÚownedÚpragmaÚprivateÚ	prototypeÚpublicÚreduceÚrequireÚreturnÚscanÚselectÚserialÚsharedÚsingleÚsparseÚ	subdomainÚsyncÚthenÚthrowÚthrowsÚtryÚ	unmanagedÚuseÚ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}))ÚrootrO   rN   N)?r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚ	filenamesÚaliasesr   r   ÚSingleZ	Multiliner   ZDeclarationÚConstantÚTyper   r   r   ZFloatZBinZHexÚOctZIntegerr
   r   r   r	   ZOtherZClassZFunctionÚtokens© r]   r]   ú</tmp/pip-install-5sebvq2j/pygments/pygments/lexers/chapel.pyr      sr                    

N)rT   Zpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   Ú__all__r   r]   r]   r]   r^   Ú<module>
   s   (