https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/pygments/lexers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/pygments/lexers/__pycache__/pawn.cpython-310.pyc
o

���a��@spdZddlmZddlmZmZmZmZmZm	Z	m
Z
mZddlm
Z
ddgZGdd�de�ZGdd�de�Zd	S)
z�
    pygments.lexers.pawn
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for the Pawn languages.

    :copyright: Copyright 2006-2021 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@s�eZdZdZdZdgZdgZdgZdZdZ	de
jd	fd
e
jdfde	d
e
jd	fde	de
jdfdefdefdefde
j
fde
jfdefdedfdejfdejfdejfdejfdejfdejfdefdefdefd ejfd!ejfd"efgd#ed$fd%ejfd&efdefd'efgd(e
jfd)e
jfd*e
j
d$fd+e
jfd,e
jfde
jd$fgd-e
jd.fd/e
jd$fd0e
fgd1�Zhd2�Zd3d4�Zd5d6�Z d7S)8r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.*?(?<!\\)\n�#push�^\s*#endif.*?(?<!\\)\n�.*?\n��rootrrr>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�ConVarQueryFinishedcKsJt|dd�|_t�|_|jrddlm}|j�|�tj|fi|��dS)N�	sourcemodTr)�	FUNCTIONS)	r�smhighlighting�set�
_functions�#pygments.lexers._sourcemod_builtinsr��updater�__init__)�self�optionsr��r��6/usr/lib/python3/dist-packages/pygments/lexers/pawn.pyr�ks�zSourcePawnLexer.__init__ccsZ�t�||�D]#\}}}|tur$|jr$||jvrtj}n||jvr$tj}|||fVqdS)N)	r�get_tokens_unprocessedrr��SM_TYPESr�Typer��Builtin)r��text�index�token�valuer�r�r�r�us�
�

�z&SourcePawnLexer.get_tokens_unprocessedN)!�__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�rsn

���

�
	
��4
c@sveZdZdZdZdgZgd�ZdgZdZdZ	de
jd	fd
e
jdfde	d
e
jd	fde	de
jdfdefdefdefde
j
fde
jfdefdedfdejfdejfdejfdejfdejfdejfdefdefdefd ejfd!ejfd"efgd#ed$fd%ejfd&efdefd'efgd(e
jfd)e
jfd*e
j
d$fd+e
jfd,e
jfde
jd$fgd-e
jd.fd/e
jd$fd0e
fgd1�Zd2d3�Zd4S)5r
z:
    For Pawn source code.

    .. versionadded:: 2.0
    �Pawn�pawn)z*.pz*.pwnz*.incztext/x-pawnz (?:\s|//.*?\n|/[*][\w\W]*?[*]/)+rrrrrrrrrrrrz/(\\\n)?\*[\w\W]*?\*(\\\n)?/rrrrr 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/r0r1r2r3r4r5r6r7r8cCsd|vrdSdS)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�r�r�r��analyse_text�s�zPawnLexer.analyse_textN)r�r�r�r�r�r�r�r�r�r�rr�rr�r�r
rr�r	r<r�r�r�rrr�r�rr�r�r�r�r�r�r�r
�sj

���

�
	
��4N)r��pygments.lexerr�pygments.tokenrrrrrrr	r
�
pygments.utilr�__all__rr
r�r�r�r��<module>s
(n

https://t.me/RX1948 - 2025