HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/pawn.cpython-38.pyc
U

G�
\��@stdZddlmZddlmZmZmZmZmZm	Z	m
Z
mZmZddl
mZddgZGdd�de�ZGdd�de�Zd	S)
z�
    pygments.lexers.pawn
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for the Pawn languages.

    :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
RegexLexer)	�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Error)�get_bool_opt�SourcePawnLexer�	PawnLexerc@s�eZdZdZdZdgZdgZdgZdZdZ	de
jd	fd
e
jdfde	d
e
jd	fde	de
jdfdefdefdefde
j
fde
jfdefdedfdejfdejfdejfdejfdejfdejfdefdefdefd efd!ejfd"ejfd#efgd$ed%fd&ejfd'efdefd(efgd)e
jfd*e
jfd+e
j
d%fd,e
jfd-e
jfde
jd%fgd.e
jd/fd0e
jd%fd1e
fgd2�Zed3�Z d4d5�Z!d6d7�Z"d8S)9r
z]
    For SourcePawn source code with preprocessor directives.

    .. versionadded:: 1.6
    Z
SourcePawnZspz*.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.*?(?<!\\)\n�#push�^\s*#endif.*?(?<!\\)\n�.*?\n��rootrrr)N�Action�bool�FloatZPluginr�anyZ	AdminFlagZOverrideTypeZOverrideRuleZImmunityTypeZGroupIdZAdminIdZ
AdmAccessModeZAdminCachePartZCookieAccessZ
CookieMenuZCookieMenuActionZNetFlowZConVarBoundsZQueryCookieZReplySourceZConVarQueryResultZConVarQueryFinishedZFunctionr:ZIdentityZPluginStatusZ
PluginInfoZDBResultZ
DBBindTypeZ
DBPriorityZPropTypeZ
PropFieldTypeZMoveTypeZ
RenderModeZRenderFxZ
EventHookModeZ	EventHookZFileTypeZFileTimeModeZPathTypeZ	ParamTypeZExecTypeZ
DialogTypeZHandleZKvDataTypesZNominateResultZ	MapChangeZ	MenuStyleZ
MenuActionZ
MenuSourceZ
RegexErrorZSDKCallTypeZ
SDKLibraryZSDKFuncConfSourceZSDKTypeZ
SDKPassMethodZRayTypeZTraceEntityFilterZListenOverrideZ	SortOrderZSortTypeZ
SortFunc2DZAPLResZFeatureTypeZ
FeatureStatusZ	SMCResultZSMCErrorZTFClassTypeZTFTeamZTFCondZTFResourceTypeZTimerZ
TopMenuActionZTopMenuObjectTypeZTopMenuPositionZ
TopMenuObjectZUserMsgcKsFt|dd�|_t�|_|jr4ddlm}|j�|�tj|f|�dS)NZ	sourcemodTr)�	FUNCTIONS)	r�smhighlighting�set�
_functionsZ#pygments.lexers._sourcemod_builtinsr>�updater�__init__)�selfZoptionsr>�rE�6/usr/lib/python3/dist-packages/pygments/lexers/pawn.pyrCms�zSourcePawnLexer.__init__ccsXt�||�D]F\}}}|tkrF|jrF||jkr6tj}n||jkrFtj}|||fVqdS)N)	r�get_tokens_unprocessedrr?�SM_TYPESr�TyperAZBuiltin)rD�text�index�token�valuerErErFrGws
�

z&SourcePawnLexer.get_tokens_unprocessedN)#�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenames�	mimetypes�_ws�_ws1r�Preprocr�Single�	Multiliner
r�Charr	r<�Hex�Oct�IntegerrrrrI�Constantr�Escape�tokensr@rHrCrGrErErErFr
sn

���

�	

��5
c@sveZdZdZdZdgZdddgZdgZdZd	Z	d
e
jdfde
jd
fde	de
jdfde	de
jd
fdefdefdefde
j
fde
jfdefdedfdejfdejfdejfdejfdejfdejfdefd efd!efd"efd#ejfd$ejfd%efgd&ed'fd(ejfd)efdefd*efgd+e
jfd,e
jfd-e
j
d'fd.e
jfd/e
jfde
jd'fgd0e
jd1fd2e
jd'fd3e
fgd4�Zd5S)6rz:
    For Pawn source code.

    .. versionadded:: 2.0
    ZPawnZpawnz*.pz*.pwnz*.incztext/x-pawnz (?:\s|//.*?\n|/[*][\w\W]*?[*]/)+rrrrrrrrrrrrz/(\\\n)?\*[\w\W]*?\*(\\\n)?/rrrrrr 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-r.r/r0r1r2r3r4r5r6r7r8N)rNrOrPrQrRrSrTrUrVrWrrXrrYrZr
rr[r	r<r\r]r^rrrrIr_rr`rarErErErFr�sh


���

�	

��N)rQZpygments.lexerrZpygments.tokenrrrrrrr	r
rZ
pygments.utilr�__all__r
rrErErErF�<module>s
,o