a
    T_O                     @   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-2020 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   zU
    For `Chapel <https://chapel-lang.org/>`_ 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|none|true)\bzJ(bool|bytes|complex|imag|int|nothing|opaque|range|real|string|uint|void)\b)EZalignasZatomicZbeginZborrowedbreakZbyZcatchZcobeginZcoforallcontinueZdeferdeleteZdmappedZdoZdomainelseenumexceptZexportZexternforZforallZ
forwardingifimportindexZinitZinlineZlabellambdaZletZlifetimeZlocalZ	localenewZnoinitZonZonlyZ	otherwiseoverrideZownedZpragmaZprivateZ	prototypeZpublicreduceZrequirereturnscanZselectserialZsharedZsingleZsparseZ	subdomainsyncZthenthis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ConstantTyper   r   r   ZFloatZBinZHexZOctZIntegerr
   r   r   r	   ZOtherZClassZFunctiontokens r6   r6   8/usr/lib/python3/dist-packages/pygments/lexers/chapel.pyr      sf   
K
N)r/   Zpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   __all__r   r6   r6   r6   r7   <module>   s   
(