HEX
Server: LiteSpeed
System: Linux us-phx-web1284.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: u300739242 (300739242)
PHP: 8.2.30
Disabled: system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/__pycache__/pawn.cpython-311.pyc
�

�;f= ���dZddlmZddlmZmZmZmZmZm	Z	m
Z
mZddlm
Z
ddgZGd�de��ZGd�de��Zd	S)
z�
    pygments.lexers.pawn
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for the Pawn languages.

    :copyright: Copyright 2006-2024 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�J�eZdZdZdZdgZdgZdgZdZdZ	dZ
d	Zd
ej
dfdej
d
fdezdzej
dfdezdzej
d
fdefdefdefdejfdejfdefdedfdejfdejfdejfdejfdejfdejfdefd efd!efd"ejfd#ejfd$efgd%ed&fd'ejfd(efdefd)efgd*ej
fd+ejfd,ejd&fd-ej
fd.ej
fdej
d&fgd/ej
d0fd1ej
d&fd2efgd3�Zhd4�Z d5�Z!d6�Z"d7S)8r
zB
    For SourcePawn source code with preprocessor directives.
    �
SourcePawn�spz*.spztext/x-sourcepawnz+https://github.com/alliedmodders/sourcepawnz1.6z(?:\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��rootr rr>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}|j�|��tj|fi|��dS)N�	sourcemodTr)�	FUNCTIONS)	r�smhighlighting�set�
_functions�#pygments.lexers._sourcemod_builtinsr��updater�__init__)�self�optionsr�s   �G/opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/pawn.pyr�zSourcePawnLexer.__init__ksz��*�7�+6��>�>����%�%�����	.�E�E�E�E�E�E��O�"�"�9�-�-�-���D�,�,�G�,�,�,�,�,�c#��K�tj||��D]H\}}}|tur2|jr+||jvr
t
j}n||jvrtj}|||fV��IdS)N)	r�get_tokens_unprocessedrr��SM_TYPESr�Typer��Builtin)r��text�index�token�values     r�r�z&SourcePawnLexer.get_tokens_unprocessedus������1�$��=�=�	&�	&��E�5�%���}�}��&�-���
�-�-� '�����$�/�1�1� $������%�%�%�%�%�	&�	&r�N)#�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenames�	mimetypes�url�
version_added�_ws�_ws1r�Preprocr�Single�	Multilinerr	�Charr
r>�Hex�Oct�Integerrrr��Constantr�Escape�tokensr�r�r��r�r�r
r
s.���������D��f�G���I�$�%�I�
7�C��M�'�C�$�D�
�'�/�5�1�
�7�?�G�,�
�4�Z�*�
$�g�o�u�=�
�4�Z�#�
�w���8�
�D�M�
�T�N�
�d�O�
-�w�~�>�
,�g�.?�@�
�k�"�
�V�X�&�
D�f�k�R�
7���F�
-�v�|�<�
%�v�z�2�
��
�+�
�F�N�+�
!�8�,�
�[�)�B�CJ�
L����-�
�� 0�1�
�d�#�7
�<�6�6�"�
?���O�
�6�"�
�f��
�F�O�
����)�
�� 1�2�
����0�
�7�?�#�
�7�?�+�
�G�O�V�,�

�$�W�_�g�>�
&����@�
�w��
�[2�2�F�h?�?�?�H�(-�-�-�	&�	&�	&�	&�	&r�c�>�eZdZdZdZdgZgd�ZdgZdZdZ	dZ
d	Zd
ej
dfdej
d
fdezdzej
dfdezdzej
d
fdefdefdefdejfdejfdefdedfdejfdejfdejfdejfdejfdejfdefd efd!efd"ejfd#ejfd$efgd%ed&fd'ejfd(efdefd)efgd*ej
fd+ejfd,ejd&fd-ej
fd.ej
fdej
d&fgd/ej
d0fd1ej
d&fd2efgd3�Zd4�Z d5S)6rz
    For Pawn source code.
    �Pawn�pawn)z*.pz*.pwnz*.incztext/x-pawnz(https://www.compuphase.com/pawn/pawn.htmz2.0z (?:\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|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�s r��analyse_textzPawnLexer.analyse_text�s���d�?�?��4��?r�N)!r�r�r�r�r�r�r�r�r�r�r�r�rr�rr�r�rr	r�r
r>r�r�r�rrr�r�rr�r�r�r�r�r�rr�s���������D��h�G�)�)�)�I���I�
4�C��M�.�C�$�D�
�'�/�5�1�
�7�?�G�,�
�4�Z�*�
$�g�o�u�=�
�4�Z�#�
�w���8�
�D�M�
�T�N�
�d�O�
-�w�~�>�
,�g�.?�@�
�k�"�
�V�X�&�
D�f�k�R�
7���F�
-�v�|�<�
%�v�z�2�
��
�+�
�F�N�+�
!�8�,�
�[�)�9�:A�
C����-�
�� 0�1�
�d�#�7
�<�6�6�"�
?���O�
�6�"�
�f��
�F�O�
����)�
�� 1�2�
����0�
�7�?�#�
�7�?�+�
�G�O�V�,�

�$�W�_�g�>�
&����@�
�w��
�[2�2�F�h����r�N)r��pygments.lexerr�pygments.tokenrrrrrr	r
r�
pygments.utilr�__all__r
rr�r�r��<module>r�s����&�%�%�%�%�%���������������������&�&�&�&�&�&��k�
*��k&�k&�k&�k&�k&�j�k&�k&�k&�\I�I�I�I�I�
�I�I�I�I�Ir�