Ë üÚgÚmÈdXãó|—dZddlmZddlmZmZmZmZmZm Z m Z m Z ddl m Z ddgZGd„de«ZGd„de«Zy ) zË pygments.lexers.pawn ~~~~~~~~~~~~~~~~~~~~ Lexers for the Pawn languages. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. é)Ú RegexLexer)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚ Punctuation)Ú get_bool_optÚSourcePawnLexerÚ PawnLexercó&—eZdZdZdZdgZdgZdgZdZdZ de jd fd e jd fd e zd ze jd fd e zdze jd fde fde fde fde jfde jfdefdedfdej"fdej&fdej&fdej(fdej*fdej,fdefdefdefd ej2fd!ej4fd"efgd#ed$fd%ej8fd&efdefd'efgd(e jfd)e jfd*e jd$fd+e jfd,e jfde jd$fgd-e jd.fd/e jd$fd0e fgd1œZhd2£Zd3„Zd4„Z y5)6r z] For SourcePawn source code with preprocessor directives. .. versionadded:: 1.6 Ú SourcePawnÚspz*.spztext/x-sourcepawnz(?:\s|//.*?\n|/\*.*?\*/)+ú\s*(?:/[*].*?[*]/\s*)*ú^#if\s+0Úif0ú^#ÚmacroÚ^ú#if\s+0Ú#ú\nú\s+ú\\\nú/(\\\n)?/(\n|(.|\n)*?[^\\]\n)z/(\\\n)?\*(.|\n)*?\*(\\\n)?/ú[{}]úL?"Ústringú4L?'(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'ú'(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[LlUu]*ú(\d+\.\d*|\.\d+|\d+[fF])[fF]?ú0x[0-9a-fA-F]+[LlUu]*ú0[0-7]+[LlUu]*ú \d+[LlUu]*ú[~!%^&*+=|?:<>/-]ú [()\[\],.;]zs(case|const|continue|native|default|else|enum|for|if|new|operator|public|return|sizeof|static|decl|struct|switch)\bú(bool|Float)\bú(true|false)\bú [a-zA-Z_]\w*Ú"ú#popú/\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|[0-7]{1,3})ú [^\\"\n]+ú\\ú[^/\n]+ú/\*(.|\n)*?\*/ú//.*?\nÚ/ú (?<=\\)\nú^\s*#if.*?(?MÚanyÚboolÚFloatÚTimerÚAPLResÚActionÚHandleÚPluginr ÚTFCondÚTFTeamÚAdminIdÚGroupIdÚNetFlowÚRayTypeÚSDKTypeÚUserMsgÚDBResultÚExecTypeÚFileTypeÚFunctionÚIdentityÚMoveTypeÚPathTypeÚPropTypeÚRenderFxÚSMCErrorÚSortTypeÚ AdminFlagÚ EventHookÚ MapChangeÚ MenuStyleÚ ParamTypeÚ SMCResultÚ SortOrderÚ CookieMenuÚ DBBindTypeÚ DBPriorityÚ DialogTypeÚ MenuActionÚ MenuSourceÚ PluginInfoÚ RegexErrorÚ RenderModeÚ SDKLibraryÚ SortFunc2DÚ FeatureTypeÚ KvDataTypesÚ QueryCookieÚ ReplySourceÚ SDKCallTypeÚ TFClassTypeÚ ConVarBoundsÚ CookieAccessÚ FileTimeModeÚ ImmunityTypeÚ OverrideRuleÚ OverrideTypeÚ PluginStatusÚ AdmAccessModeÚ EventHookModeÚ FeatureStatusÚ PropFieldTypeÚ SDKPassMethodÚ TopMenuActionÚ TopMenuObjectÚAdminCachePartÚListenOverrideÚNominateResultÚTFResourceTypeÚTopMenuPositionÚCookieMenuActionÚConVarQueryResultÚSDKFuncConfSourceÚTopMenuObjectTypeÚTraceEntityFilterÚConVarQueryFinishedc óÌ—t|dd«|_t«|_|jr!ddlm}|jj |«tj|fi|¤Žy)NÚ sourcemodTr)Ú FUNCTIONS) r ÚsmhighlightingÚsetÚ _functionsÚ#pygments.lexers._sourcemod_builtinsrŠÚupdaterÚ__init__)ÚselfÚoptionsrŠs ú9/usr/lib/python3.12/site-packages/pygments/lexers/pawn.pyr�zSourcePawnLexer.__init__ksR€Ü*¨7Ø+6¸ó>ˆÔô›%ˆŒØ × Ò Ý EØ �O‰O× "Ñ " 9Ô -Ü×јDÑ, GÓ,óc#óúK—tj||«D]^\}}}|turI|jr=||jvrt j }n||jvrtj}|||f–—Œ`y­w)N) rÚget_tokens_unprocessedrr‹ÚSM_TYPESrÚTyper�ÚBuiltin)r‘ÚtextÚindexÚtokenÚvalues r“r–z&SourcePawnLexer.get_tokens_unprocessedusmèø€ä×1Ñ1°$¸Ö=ñ ˆE�5˜%àœ‰}Ø×&Ò&Ø § ¡ Ñ-Ü '§ ¡ ™Ø $§/¡/Ñ1Ü $§ ¡ ˜Ø˜ Ð%Ó %ñ>ùs‚A9A;N)!Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚaliasesÚ filenamesÚ mimetypesÚ_wsÚ_ws1rÚPreprocrÚSingleÚ Multiliner r ÚCharr r>ÚHexÚOctÚIntegerrrr˜ÚConstantrÚEscapeÚtokensr—r�r–©r”r“r r s„ñð €D؈f€GØ�€IØ$Ð%€Ið '€Cà $€Dð ˜'Ÿ/™/¨5Ð 1Ø �7—?‘? GÐ ,à �4‰Z˜*Ñ $ g§o¡o°uÐ =Ø �4‰Z˜#Ñ ˜wŸ™°Ð 8Ø �DˆMØ �TˆNØ �dˆOØ -¨w¯~©~Ð >Ø ,¨g×.?Ñ.?Ð @Ø �kÐ "Ø �V˜XÐ &Ø DÀfÇkÁkÐ RØ 7¸¿¹Ð FØ -¨v¯|©|Ð <Ø % v§z¡zÐ 2Ø  § ¡ Ð +Ø ˜FŸN™NÐ +Ø ! 8Ð ,Ø ˜[Ð )ðBàCJð Lð § ¡ Ð -Ø  × 0Ñ 0Ð 1Ø ˜dÐ #ð7 ð<�6˜6Ð "Ø ?ÀÇÁÐ OØ ˜6Ð "Ø �fÐ Ø �FˆOð  𘟙Р)Ø  × 1Ñ 1Ð 2Ø ˜Ÿ™¨Ð 0Ø �7—?‘?Ð #Ø ˜7Ÿ?™?Ð +Ø �G—O‘O VÐ ,ð  ð$ W§_¡_°gÐ >Ø &¨¯©¸Ð @Ø �wÐ ð ñ[2€Fòh?€Hò(-ó &r”có—eZdZdZdZdgZgd¢ZdgZdZdZ de jd fd e jd fd e zd ze jd fd e zdze jd fde fde fde fde jfde jfdefdedfdej"fdej&fdej&fdej(fdej*fdej,fdefdefdefd ej2fd!ej4fd"efgd#ed$fd%ej8fd&efdefd'efgd(e jfd)e jfd*e jd$fd+e jfd,e jfde jd$fgd-e jd.fd/e jd$fd0e fgd1œZd2„Zy3)4rz: For Pawn source code. .. versionadded:: 2.0 ÚPawnÚpawn)z*.pz*.pwnz*.incz text/x-pawnz (?:\s|//.*?\n|/[*][\w\W]*?[*]/)+rrrrrrrrrrrrz/(\\\n)?\*[\w\W]*?\*(\\\n)?/rrr r!r"r#r$r%r&r'r(z…(switch|case|default|const|new|static|char|continue|break|if|else|for|while|do|operator|enum|public|return|sizeof|tagof|state|goto)\br)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:có—d|vryy)zvThis is basically C. There is a keyword which doesn't exist in C though and is nearly unique to this language.Útagofg{®Gáz„?Nr²)ršs r“Ú analyse_textzPawnLexer.analyse_textÆs€ð �d‰?Øð r”N)ržrŸr r¡r¢r£r¤r¥r¦r§rr¨rr©rªr r r«r r>r¬r­r®rrr˜r¯rr°r±r¸r²r”r“rr�s „ñð €D؈h€GÚ)€IØ�€Ið .€Cà $€Dð ˜'Ÿ/™/¨5Ð 1Ø �7—?‘? GÐ ,à �4‰Z˜*Ñ $ g§o¡o°uÐ =Ø �4‰Z˜#Ñ ˜wŸ™°Ð 8Ø �DˆMØ �TˆNØ �dˆOØ -¨w¯~©~Ð >Ø ,¨g×.?Ñ.?Ð @Ø �kÐ "Ø �V˜XÐ &Ø DÀfÇkÁkÐ RØ 7¸¿¹Ð FØ -¨v¯|©|Ð <Ø % v§z¡zÐ 2Ø  § ¡ Ð +Ø ˜FŸN™NÐ +Ø ! 8Ð ,Ø ˜[Ð )ð9à:Að Cð § ¡ Ð -Ø  × 0Ñ 0Ð 1Ø ˜dÐ #ð7 ð<�6˜6Ð "Ø ?ÀÇÁÐ OØ ˜6Ð "Ø �fÐ Ø �FˆOð  𘟙Р)Ø  × 1Ñ 1Ð 2Ø ˜Ÿ™¨Ð 0Ø �7—?‘?Ð #Ø ˜7Ÿ?™?Ð +Ø �G—O‘O VÐ ,ð  ð$ W§_¡_°gÐ >Ø &¨¯©¸Ð @Ø �wÐ ð ñ[2€Fóhr”N)r¡Úpygments.lexerrÚpygments.tokenrrrrrr r r Ú pygments.utilr Ú__all__r rr²r”r“Úr½sHðñõ&÷÷óå&à ˜kÐ *€ôk&�jôk&ô\I� õIr”