3

V'íc‰ã@sfdZddlmZmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
ddlmZdgZGdd„deƒZdS)zÐ
    pygments.lexers.tcl
    ~~~~~~~~~~~~~~~~~~~

    Lexers for Tcl and related languages.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚincludeÚwords)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚ
Whitespace)Úshebang_matchesÚTclLexercL@seZdZdZed£d d d!Zed¤d d d!ZdmZdnZdogZ	dpdqgZ
drdsdtgZd¥dvdw„Ze
dxƒe
dyƒe
dzƒd{efgeeeƒeeed|ƒeeed}ƒeeed~ƒded€fded‚fdƒed„fd…ejdffd†ejfd‡efgdˆefd‰ejfdŠejfd‹ejfdŒejfdejfdŽejfdefgded‘fd’ed‘fd“efe
dyƒe
dzƒgd{ed¦fe
d”ƒgd•ed§fe
d”ƒgd–ed¨fe
d”ƒgdejd—fd˜ejfd…ejd‘fgdejd—fd™ejfd–ejd‘fgd{ed‘fe
dšƒe
dyƒe
dzƒgd•ed‘fe
d›ƒe
dyƒe
dzƒgd–ed‘fe
dœƒe
dyƒe
dzƒgded‘fdžefgdŸœZd d¡„Zd¢S)©rz:
    For Tcl source code.

    .. versionadded:: 0.10
    ÚafterÚapplyÚarrayÚbreakÚcatchÚcontinueÚelseifÚelseÚerrorÚevalÚexprÚforÚforeachÚglobalÚifÚ	namespaceÚprocÚrenameÚreturnÚsetÚswitchÚthenÚtraceÚunsetÚupdateÚuplevelÚupvarÚvariableÚvwaitÚwhilez\b)ÚprefixÚsuffixÚappendÚbgerrorÚbinaryÚcdÚchanÚclockÚcloseÚconcatÚddeÚdictÚencodingÚeofÚexecÚexitÚfblockedÚ
fconfigureÚfcopyÚfileÚ	fileeventÚflushÚformatÚgetsÚglobÚhistoryÚhttpÚincrÚinfoÚinterpÚjoinÚlappendÚlassignÚlindexÚlinsertÚlistÚllengthÚloadÚloadTkÚlrangeÚlrepeatÚlreplaceÚlreverseÚlsearchÚlsetÚlsortÚmathfuncÚmathopÚmemoryÚmsgcatÚopenÚpackageÚpidúpkg::createÚpkg_mkIndexÚplatformúplatform::shellÚputsÚpwdÚ	re_syntaxÚreadÚrefchanÚregexpÚregistryÚregsubÚscanÚseekÚsocketÚsourceÚsplitÚstringÚsubstÚtellÚtimeÚtmÚunknownÚunloadZTclz&https://www.tcl.tk/about/language.htmlZtclz*.tclz*.rvtz
text/x-tclztext/x-script.tclzapplication/x-tclÚcCs4|td|f|tjd|fdtjd|fdtdfgS)NÚparamsz	([\w.-]+)ú#Úcomment)rr	ZBuiltinÚVariabler)Úkeyword_cmds_reÚbuiltin_cmds_reÚcontext©r‚ú7/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/tcl.pyÚ_gen_command_rules4szTclLexer._gen_command_rulesÚcommandÚbasicÚdataz\}z	-in-bracez-in-bracketz	-in-parenz\(Úparenz\[Úbracketz\{Úbraceú"z(eq|ne|in|ni)\bz/!=|==|<<|>>|<=|>=|&&|\|\||\*\*|[-+~!*/%<>&^|?:]z\s+z0x[a-fA-F0-9]+z0[0-7]+z\d+\.\d+z\d+z
\$[\w.:-]+z\$\{[\w.:-]+\}z
[\w.,@:-]+ú;ú#popz\nz(else|elseif|then)\br{z\)z\]z
string-squarez(?s)(\\\\|\\[0-7]+|\\.|[^"\\])z$(?s)(\\\\|\\[0-7]+|\\.|\\\n|[^\]\\])zcommand-in-bracezcommand-in-parenzcommand-in-bracketz	.*[^\\]\nz.*\\\n)Úrootr…zcommand-in-bracezcommand-in-bracketzcommand-in-parenr†r‡r{zparams-in-bracezparams-in-parenzparams-in-bracketrsz
string-squarerŠrˆr‰r}cCs
t|dƒS)Nz(tcl))r
)Útextr‚r‚rƒÚanalyse_text”szTclLexer.analyse_textN)rrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,)Kr/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxry)rz)rr)rr)rr)Ú__name__Ú
__module__Ú__qualname__Ú__doc__rrr€ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesr„rrr
ÚDoublerÚWordrrZHexÚOctZFloatZIntegerr	r~rrÚtokensrr‚r‚r‚rƒrsª





N)r”Zpygments.lexerrrrZpygments.tokenrrrrr	r
rrZ
pygments.utilr
Ú__all__rr‚r‚r‚rƒÚ<module>	s
(