i7iHdZddlZddlmZmZmZmZmZmZddl m Z m Z m Z m Z mZmZmZmZgdZGddeZGdd eZGd d eZy) z pygments.lexers.unicon ~~~~~~~~~~~~~~~~~~~~~~ Lexers for the Icon and Unicon languages, including ucode VM. :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. N) RegexLexerincludebygroupswordsusingthis)TextCommentOperatorKeywordNameStringNumber Punctuation) IconLexer UcodeLexer UniconLexerceZdZdZdZdgZdgZdgZdZdZ e jZ de fd ejfde fd ej"d fd eej"e ej&d fdej(fdej*fdej,fdej,fdej,fdej"fedddej,fedddej2feddefdefdej:fdefdefdeeeefde fd e fd!e fgd"e!jDfd#e!jFfd$e!jHfgd%e d&fd'e d(fd)ej2fed*gd%e d+fgd,e d(fd-ejJfd.e fd/ej,fed*gd0Z&y1)2rz! For Unicon source code. Uniconuniconz*.icnz text/uniconzhttps://www.unicon.org2.4[^\S\n]+#.*?\nclass|method|procedure subprogram(record)(\s+)(\w+)type_def^(#line|\$C|\$Cend|\$define|\$else|\$endif|\$error|\$ifdef|\$ifndef|\$include|\$line|\$undef)\b(&null|&fail)\b&allocated|&ascii|&clock|&collections|&column|&col|&control|&cset|¤t|&dateline|&date|&digits|&dump|&errno|&errornumber|&errortext|&errorvalue|&error|&errout|&eventcode|&eventvalue|&eventsource|&e|&features|&file|&host|&input|&interval|&lcase|&letters|&level|&line|&ldrag|&lpress|&lrelease|&main|&mdrag|&meta|&mpress|&mrelease|&now|&output|&phi|&pick|&pi|&pos|&progname|&random|&rdrag|®ions|&resize|&row|&rpress|&rrelease|&shift|&source|&storage|&subject|&time|&trace|&ucase|&version|&window|&x|&y(by|of|not|to)\bz (global|local|static|abstract)\bzpackage|link|import)breakcasecreatecriticaldefaultendalldoelseeveryfailifimportinitial initially invocablenextrepeatreturnsuspendthenthreaduntilwhile\bprefixsuffix(+AbortabsacosActiveAlertanyAnyArbArbnoargsarrayasinatanatanhAttribBalbalBgBreakBreakxcalloutcentercharchdirchmodchownchroot classnameClipCloneclosecofailcollectColor ColorValuecondvar constructorcopyCopyAreacosCouplecryptcsetctime dbcolumnsdbdriverdbkeysdblimits dbproductdbtablesdelaydeletedetabdisplayDrawArc DrawCircleDrawCube DrawCurve DrawCylinderDrawDisk DrawImageDrawLine DrawPoint DrawPolygon DrawRectangle DrawSegment DrawSphere DrawString DrawTorusdtorentab EraseArea errorclearEvent eventmaskEvGetEvSendexecexitexpEyeFailfcntlfdupFencefetchFg fieldnamesfilepairFillArc FillCircle FillPolygon FillRectanglefindflockflushFontfork FreeColor FreeSpacefunctiongetgetchgetchegetegidgetenvgeteuidgetgidgetgrgethostgetpgrpgetpidgetppidgetpw getrusagegetservGetSpace gettimeofdaygetuid globalnamesGotoRCGotoXYgtimehardlinkiandicomIdentityMatriximageInPortinsertInt86integerioctliorishiftistateixorkbhitkeykeywordkillleftLenlistloadloadfunc localnameslocklogLowerlstatmanymapmatch MatrixModemaxmember membernames methodnamesmethodsminmkdirmove MultMatrixmutexnameNewColorNormalsNotAnynumericopenopencloprecordOutPort PaletteChars PaletteColor PaletteKey paramnamesparentPatternPeekPendingpipePixel PlayAudioPokepop PopMatrixPosposprocpullpush PushMatrix PushRotate PushScale PushTranslateput QueryPointerRaiseread ReadImagereadlinkreadsreadyrealreceiveRefreshRemremoverenamereplreverserightrmdirRotateRposRtabrtodrunerrsaveScaleseekselectsendseqserialsetsetenvsetgidsetgrent sethostentsetpgrpsetpwent setserventsetuidsignalsinsortsortfSpanspawnsqlsqrtstat staticnamesstop StopAudiostring structureSucceedSwisymlink sys_errstrsystemsyswriteTabtabtabletanTexcoordTexture TextWidth TranslatetraptrimtruncatetrylocktypeumaskUncoupleunlockuptoutimevariableVAttribwaitWAttribWDefaultWFlushwhere WinAssociate WinButtonWinColorDialogWindowContents WinEditRegion WinFontDialog WinMenuBar WinOpenDialog WinPlayMedia WinSaveDialog WinScrollBarWinSelectDialogwrite WriteImagewritesWSectionWSyncnumberszc<@|<<@|>@|>>@|\.>|->|===|~===|\*\*|\+\+|--|\.|~==|~=|<=|>=|==|=|<<=|<<|>>=|>>|:=:|:=|->|<->|\+:=|\|"(?:[^\\"]|\\.)*"'(?:[^\\']|\\.)*'[*<>+=/&!?@~\\-]z\^(\w+)(\s*|[(,])[\[\]]z<>|=>|[()|:;,.'`{}%&?]\n+3\b([+-]?([2-9]|[12][0-9]|3[0-6])[rR][0-9a-zA-Z]+)\b'[+-]?[0-9]*\.([0-9]*)([Ee][+-]?[0-9]*)?\b([+-]?[0-9]+[KMGTPkmgtp]?)\b\(#pop formal_part;ru "[^"]+"|\w+rootrv\)\w+,(:string|:integer|:real)\bryrirrrvN'__name__ __module__ __qualname____doc__raliases filenames mimetypesurl version_addedre MULTILINEflagsr r Singler DeclarationrTypePreProcConstantReservedrr Functionrr r CharacterrrrrHexFloatIntegerVariabletokens_/mnt/ssd/data/python-lab/ChefSystem/venv/lib/python3.12/site-packages/pygments/lexers/unicon.pyrrsT DjG II "CM LLE$   ' $  &(;(;\ J " g))4 >  L56=oo G !1!1 2  '// 1!'"2"2 3 0'2B2B C #W%8%8 9 4 =B% Q     =z"'u{=6|]]}> ~ I 67? A !6 * !6#3#3 4 ( + H  $d !< =  $ & 4 TNSj XDVZZ P 7 F . ? K!8 9 ; ' T]] + FO  K / K ( T]] # ;  *G,<,< = FO  uAFrrceZdZdZdZdgZddgZgZdZdZ e jZ de fd ejfde fd ej"d fd eej"e ej&d fdej(fdej*fdej,fdej,fdej,fdej"fedddej,fedddej2feddefdefdej:fdefdeeeefde fde fd e fgd!e!jDfd"e!jFfd#e!jHfgd$e d%fd&e d'fd(ej2fed)gd$e d*fgd+e d'fd,ejJfd-e fd.ej,fed)gd/Z&y0)1rz Lexer for Icon. Iconiconz*.iconz*.ICONz https://www2.cs.arizona.edu/iconz1.6rrrrrrrrr r!z(global|local|static)\blink)r"r#r$r&r'r(r)r*r+r,r-r/r1r2r3r4r5r6r8r9r:r;)r?r@rArBrCrGrHrIrJrKrLrNrOrRrSrTrUrVrWrXrZr[r\r]r^r_r`rarcrdrerfrgrhrirprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrr r!r"r#r*r+r,r-r.r0r1r2r3r4r5r7r8r:r;r<r=r>r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrizS===|~===|\*\*|\+\+|--|\.|==|~==|<=|>=|=|~=|<<=|<<|>>=|>>|:=:|:=|<->|<-|\+:=|\|\||\|rjrkrlrmrnz<>|=>|[()|:;,.'`{}%\^&?]rorprqrrrsrtrwrurxryrvrzr{r|r}r~NrrrrrrsK DhG8$II ,CM LLE$   ' $  &(;(;\ J " g))4 >  L56=oo G !1!1 2  '// 1!'"2"2 3 ')9)9 : g)) * * 38 G     :t"'uu:6v]]w; x I +,4 6 !6 * !6#3#3 4 ( + $d !< =  $ (+ 6 TNKf PDVZZ P 7 F . ? K!8 9 ; ' T]] + FO  K / K ( T]] # ;  *G,<,< = FO  m}Frrc VeZdZdZdZdgZgdZgZdZdZ e jZ dde fedd d ej fed d d e fed d d ej$fed d d ej&fdej*fdej,fdej,fdefdefdefg iZdZy)rz% Lexer for Icon ucode files. ucode)z*.uz*.u1z*.u2zhttp://www.unicon.orgrryz(#.*\n)) condeclendr'globalimplr1labrlocalrecorduidunionsversionr:r;)colmfilenlinesynt)Yasgnbangbscancatccasechfailcoactr]complcoretr$rhdiffdivdupefaileinitr'eqvereterrorescanesuspfieldgotoinitintinterinvokekeywdlconcatlexeqlexgelexgtlexlelexltlexnelimitllistlsuspmarkmark0minusmodmultnegneqvnonnullnoopnullnumbernumeqnumgenumgtnumlenumltnumnepfailpluspnullrpowerpretrpsusppush1pushn1randomrasgnrcvrcvbkr refreshrswapsdupsectsizesndsndbkstrsubscswaptabmattallytobytraceunmarkvaluevar)rCr#endcaseendeveryendif endifelse endrepeat endsuspendenduntilendwhiler+r-ifelser3r5r8r9z\d+(\s*|\.$|$)z[+-]?\d*\.\d+(E[-+]?\d+)?z[+-]?\d+\.\d*(E[-+]?\d+)?z"(<>|=>|[()|:;,.'`]|[{}]|[%^]|[&?])z\s+\bz[\w-]+ctd}d|vr|dz }d|vr|dz }d|vr|dz }d|vr d|vr|dz }d |vr d |vr|d z }|S) z}endsuspend and endrepeat are unique to this language, and \self, /self doesn't seem to get used anywhere else either.rrg?rz:=g{Gz? procedurer'z\selfz/selfg?r)textresults r analyse_textzUcodeLexer.analyse_textsq 4  cMF $  cMF 4< dNF $ 5D= dNF t D 0 cMF rN)rrrrrrrrrrrrrr rr rr rrrrrrr rrrrrrr3s DiG'II !CM LLE   ! U,]] 1U,  :).e;=< = "> % )]]  / )6<< 8 )6<< 8 2K @ t   CB DFLrr)rrpygments.lexerrrrrrrpygments.tokenr r r r r rrr__all__rrrrrrrsW LL 5O*OdJ JZjjr