YBFj,dZddlmZmZmZmZmZmZmZddl m Z m Z m Z m Z mZmZmZmZmZddlmZmZdgZGddeZdS)z pygments.lexers.arturo ~~~~~~~~~~~~~~~~~~~~~~ Lexer for the Arturo language. :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerbygroups do_insertionsincludethisusingwords) CommentErrorKeywordNameNumberOperator PunctuationStringText) ClassNotFound get_bool_opt ArturoLexerc|eZdZdZdZddgZdgZdZdZdZ d Z d e j fd e j fed d ejfedd dejjfdejfdejfdejfdejfdejfdejfdejfdejfdejfdeee e!efdej"dfdej dfd ej"d!fd"ej d#fd$ej"d%fd&e fd'ej d(fd)ej d*fe#d+d,efed-ej$fed.e%fd/efd0e&j'fd1e(fgd2ej)d3fd4e e!fgd5ej)d3fd4e e!fged6ej*fge#d7d2ej)d8fd9ej)d:fdej"d3fd;efge#d7d2ej)d8fd9ej)d:fdej"d3fd?efgd@ej*fd2ej)d8fd9ej)d:fdAej d3fdBej+fge#d7d2ej)d8fd9ej)d:fdCej"d3fdDefge#d7d2ej)d8fd9ej)d:fdEej d3fdFefge#d7d2ej)d8fd9ej)d:fdGej d3fdHefgedId dJejfedKd d ejfgdL Z,dMS)Nrz For Arturo source code. See `Arturo's Github `_ and `Arturo's Website `_. Arturoarturoartz*.artzhttps://arturo-lang.io/z2.14c Vt|dd|_tj|fi|dS)Nhandle_annotatedsT)rrr__init__)selfoptionss DC:\PYTHON\_runtimes\venv\Lib\site-packages\pygments/lexers/arturo.pyrzArturoLexer.__init__#s;!-g7J.2"4"4D,,G,,,,,c#Kddlm}|dtj|dfV|dtj|dfV|dtj|dfV|dtj|dfVd}|j rB ||d }n#t$rYnwxYw|d}| |dt|fVn)tg| |Ed{V|d tj|d fVdS) zAdds syntax from another languages inside annotated strings match args: 1:open_string, 2:exclamation_mark, 3:lang_name, 4:space_or_newline, 5:code, 6:close_string r)get_lexer_by_nameN)pygments.lexersr"startrDoublegroupInterpolr Whitespacerstriprrget_tokens_unprocessed)rmatchr"lexercodes rhandle_annotated_stringsz$ArturoLexer.handle_annotated_strings(s 655555kk!nnfmu{{1~~====kk!nnfou{{1~~====kk!nnfou{{1~~====kk!nndou{{1~~====  !  ))%++a..*>*>*@*@AA     {{1~~ =++a..&$. . . . .$R)E)Ed)K)KLL L L L L L L Lkk!nnfmU[[^^;;;;;;s/0D D-,D-z;.*?$z^((\s#!)|(#!)).*?$)falsetruemaybez\b)suffix)rinitz\b\??:?)prefixr8z`.`z \\\w+\b\??:?z#\w+z\b[0-9]+\.[0-9]+z\b[0-9]+z \w+\b\??:z\'(?:\w+\b\??:?)z\:\w+z \.\w+\??:?z(\()(.*?)(\)\?)"inside-simple-string»inside-smart-stringu«««inside-safe-stringz\{\/inside-regex-stringz\{\:inside-curly-verb-stringz#(\{)(\!)(\w+)(\s|\n)([\w\W]*?)(^\})z\{inside-curly-stringz\-{3,}inside-eof-stringbuiltin-functionsz[()[\],]) z->==>|z::@#$&!z!!z./)$z<:z:>z::z<\z<><>øu∞+-*~=^%/z//rEz<=>z<==>z=>>z<<=>>z<<==>>z-->z<->z<-->z=|z|=z-:z:-_.z..\z\b\w+z\s+z.+$z\|z#popz[^|]+z\|\|\>)z\\\nz\tz\" string-escapeinside-interpolz\<\|\|inside-templatez[^|"]+rZz[^|\n]+u»»»u[^|»]+z\\[sSwWdDbBZApPxucItnvfr0]+z\/\}z[^|\/]+z\:\}z[^|<:]+z\}z[^|<}]+z\Zz[^|<]+)Fallandanyasciiattr attributeattributeLabelbinary blockcharcontainsdatabasedate dictionaryemptyequaleveneveryexistsr5floatinfunctiongreatergreaterOrEqualifininlineintegeriskeylabelleapless lessOrEqualliterallogicallowernandnegativenornotnotEqualnullnumericoddorpath pathLabelpositiver:primesetsomesorted standalonestringsubsetr8supersetymbolr6trytypeunlessupperwhen whitespacewordxnorxorzeroz\b\?)absacosacoshacsecacsechactanactanhaddafteralphabetr_angleappendargargsarityarrayasasecasechasinasinhatanatan2atanhrbattrsaveragebefore benchmarkblendbreak builtins1 builtins2call capitalizecaseceilchopchunkclearcloseclustercolorcombineconjcontinuecopycoscoshcouplecseccsechctanctanhcursordarkendecdecodedecoupledefinedelete desaturate deviationrj differencedigestdigitsdivdodownloaddropdupeelserkencodeensureenvepsilonescapeexecuteexitexpextendextractfactorsr5fdivfilterfirstflattenfloorfoldfromrqgammagcdgetgotohashhelphypotrtruincindentindexinfinityinfoinputinsertinspect intersectioninvertjoinkeyskurtosislastlet levenshteinlightenlistlnloglooprmailmapr1maxr7medianminmodmodulemulrnegnewr normalizernowropenroutdentpadpanicrpause permissions permutatepipoppowpowersetpowmodr:printprintsprocessproductqueryrandomrangereadrelativeremoverenamerenderrepeatreplacerequestreturnreverseroundsamplesaturatescriptsecsechselectservershlshrshufflesinsinhsizeskewnessslicesortsplitsqrtsqueezestackr/subr8sumswitchsymbolssymlinksystaketantanhterminaltor6truncaterrunionuniqueruntilunziprvaluesvarvariancevolumewebviewwhilewithwordwrapwriterrzip) rootr\r]r[r<r>r?r@rArBrCrDN)-__name__ __module__ __qualname____doc__namealiases filenamesurl version_addedrr4r SingleHashbangr r ConstantBuiltinPseudorCharPropertyrFloatIntegerLabelr DeclarationType Attributerrrrr+r Decoratorrrr.r r-EscapeRegextokensr rrrs DG I #CM--- < < V]$: ; fm%: ;  '; < fm%: ;fm%? @ 35M N FM#8 9  ': ; G' ( (+ & U/0015 A U*++-5 6t  T_ % UOm7 tFOV , uuT{{ #  0 uuT{{ # U0 1 16= A GO $ $ FO%6 7 ): ; 6=& )   !  GO $ $ FO%6 7 ): ; FM6 *    GO $ $ FO%6 7 ): ;  v .   ,V] ; FO%6 7 ): ; fmV ,  &   GO $ $ FO%6 7 ): ; fmV ,  %  GO $ $ FO%6 7 ): ; FM6 *    GO $ $ FO%6 7 ): ; FM6 *    U G - - -/3l <U%JEK%+%+%+J-1LK% :5 qooFFFr N)rrpygments.lexerrrrrrrr pygments.tokenr r r r rrrrr pygments.utilrr__all__rrr rrs665555555 /ddddd*dddddr