3

V'íc–ã@s^dZddlmZmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
mZdgZGdd„deƒZdS)zÏ
    pygments.lexers.chapel
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexer for the Chapel language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚbygroupsÚwords)	ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
WhitespaceÚChapelLexercA@s¢eZdZdZdZdZdgZddgZdZdŽZ	dZ
e	e
˜ZdZd‘Z
d’Zdiefdjefdkefdlejfdmejfeedndoejfee
dndoejfeedndoejfeee˜dndoefdpeeeƒdqfdreeeƒdqfdseeeƒdqfdteeeƒdufdvefdwefdxefdyefdzejfd{ejfd|ejfd}ejfd~ejfdejfd€e fde fd‚e!fdƒe"fd„e#j$fgd„e#j%d…fgd†e#j&d…fd‡e"dˆfd‰e"fgeedndoefeedndoejfdŠe#j$d…fgd‹œZ'dŒS)“rz7
    For Chapel source.

    .. versionadded:: 2.0
    ZChapelzhttps://chapel-lang.org/z*.chplZchapelZchplÚboolÚbytesÚcomplexÚimagÚintÚlocaleÚnothingÚopaqueÚrangeÚrealÚstringÚuintÚvoidÚatomicÚsingleÚsyncÚborrowedÚownedÚsharedÚ	unmanagedÚconfigÚconstÚinÚinoutÚoutÚparamÚrefÚtypeÚvarÚfalseÚnilÚnoneÚtrueÚalignÚasÚbeginÚbreakÚbyÚcatchÚcobeginÚcoforallÚcontinueÚdeferÚdeleteÚdmappedÚdoÚdomainÚelseÚenumÚexceptÚexportÚexternÚforÚforallÚforeachÚ
forwardingÚifÚ
implementsÚimportÚindexÚinitÚinlineÚlabelÚlambdaÚletÚlifetimeÚlocalÚnewÚnoinitÚonÚonlyÚ	otherwiseÚoverrideÚpragmaÚ	primitiveÚprivateÚ	prototypeÚpublicÚreduceÚrequireÚreturnÚscanÚselectÚserialÚsparseÚ	subdomainÚthenÚthisÚthrowÚthrowsÚtryÚuseÚwhenÚwhereÚwhileÚwithÚyieldÚzipz\nz\s+z\\\nz	//(.*?)\nz/(\\\n)?[*](.|\n)*?[*](\\\n)?/z\b)Úsuffixz(iter)(\s+)Úprocnamez(proc)(\s+)z(operator)(\s+)z*(class|interface|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]+z0[xX][0-9a-fA-F]+z0[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})z\(Úreceivertypez\)+\.z[^()]*)ÚrootrsrrrtN)
rrrrrrrrrrrrr)rrr)rr r!r")	r#r$r%r&r'r(r)r*r+)r,r-r.r/)Ar0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorp)(Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚ	filenamesÚaliasesZknown_typesZtype_modifiers_parZtype_modifiers_memZtype_modifiersZdeclarationsÚ	constantsZother_keywordsr
rrÚSingleZ	MultilinerrZDeclarationÚConstantÚTyperrZFloatZBinZHexÚOctZIntegerr
rrr	ZOtherZClassZFunctionÚtokens©r„r„ú:/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/chapel.pyrsŒ

N)ryZpygments.lexerrrrZpygments.tokenrrrrr	r
rrr
Ú__all__rr„r„r„r…Ú<module>	s,