Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
pawn.cpython-313.pyc61 linesDownload Raw Back to __pycache__
1�

2�j@ ��|�SrSSKJr SSKJrJrJrJrJrJ	r	J3r4Jr SSKJ
r
 SS/r"SS\5r"SS\5rg	)5z�6pygments.lexers.pawn7~~~~~~~~~~~~~~~~~~~~8 9Lexers for the Pawn languages.10 11:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.12:license: BSD, see LICENSE for details.13�)�14RegexLexer)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation)�get_bool_opt�SourcePawnLexer�	PawnLexerc�6�\rSrSrSrSrS/rS/rS/rSr	Sr15S	rS16rS\
RS4S
\
RS4S\-S-\
RS4S\-S-\
RS4S\4S\4S\4S\
R 4S\
R"4S\4S\S4S\R(4S\R,4S\R,4S\R.4S\R04S\R24S \4S!\4S"\4S#\R84S$\R:4S%\4/S&\S'4S(\R>4S)\4S\4S*\4/S+\
R4S,\
R"4S-\
R S'4S.\
R4S/\
R4S\
RS'4/S0\
RS14S2\
RS'4S3\
4/S4.r 1S5kr!S6r"S7r#S8r$g9):r
�z:17For SourcePawn source code with preprocessor directives.18�19SourcePawn�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]*�20\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�21CookieMenu�22DBBindType�23DBPriority�24DialogType�25MenuAction�26MenuSource�27PluginInfo�28RegexError�29RenderMode�30SDKLibrary�31SortFunc2D�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���[USS5Ul[5UlUR(a!SSKJn URR
U5 [R"U40UD6 g)N�	sourcemodTr)�	FUNCTIONS)	r�smhighlighting�set�32_functions�#pygments.lexers._sourcemod_builtinsr��updater�__init__)�self�optionsr�s   �ZD:\code\apps\devtools\python\user_packages\Python313\site-packages\pygments/lexers/pawn.pyr��SourcePawnLexer.__init__ksR��*�7�+6��>����%������E��O�O�"�"�9�-����D�,�G�,�c#�33# �[R"X5Heup#nU[LaPUR(a?X@R;a[34RnOX@R;a[RnX#U4v� Mg g7f)N)	r�get_tokens_unprocessedrr��SM_TYPESr�Typer��Builtin)r��text�index�token�values     r�r��&SourcePawnLexer.get_tokens_unprocessedusb����1�1�$�=�
 �E�%���}��&�&��
�
�-� '�����/�/�1� $������%�%�>�s�BB)r�r�N)%�__name__�35__module__�__qualname__�__firstlineno__�__doc__�name�aliases�	filenames�	mimetypes�url�
version_added�_ws�_ws1r�Preprocr�Single�	Multilinerr	�Charr36r?�Hex�Oct�Integerrrr��Constantr�Escape�tokensr�r�r��__static_attributes__�r�r�r
r
s%����D��f�G���I�$�%�I�377�C��M�'�C�$�D�38�'�/�/�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�
��39�40�+�
�F�N�N�+�
!�8�,�
�[�)�B�CJ�
L�����-�
�� 0� 0�1�
�d�#�741�<�6�6�"�
?����O�
�6�"�
�f��
�F�O�42�����)�
�� 1� 1�2�
�����0�
�7�?�?�#�
�7�?�?�+�
�G�O�O�V�,�
43�$�W�_�_�g�>�
&�����@�
�w��44�[2�F�h?�H�(-�	&r�c�*�\rSrSrSrSrS/r/SQrS/rSr	Sr45S	rS46rS\
RS4S
\
RS4S\-S-\
RS4S\-S-\
RS4S\4S\4S\4S\
R 4S\
R"4S\4S\S4S\R(4S\R,4S\R,4S\R.4S\R04S\R24S \4S!\4S"\4S#\R84S$\R:4S%\4/S&\S'4S(\R>4S)\4S\4S*\4/S+\
R4S,\
R"4S-\
R S'4S.\
R4S/\
R4S\
RS'4/S0\
RS14S2\
RS'4S3\
4/S4.r S5r!S6r"g7)8r�z47For Pawn source code.48�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)?/rr r!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/r0r1r2r3r4r5r6r7r8r9r:r;c��SU;agg)znThis is basically C. There is a keyword which doesn't exist in C49though and is nearly unique to this language.�tagofg{�G�z�?Nr�)r�s r��analyse_text�PawnLexer.analyse_text�s���d�?��r�r�N)#r�r�r�r�r�r�r�r�r�r�r�r�r�rr�rr�r�rr	r�r50r?r�r�r�rrr�r�rr�r�r�r�r�r�r�rr�s����D��h�G�)�I���I�514�C��M�.�C�$�D�52�'�/�/�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�
��53�54�+�
�F�N�N�+�
!�8�,�
�[�)�9�:A�
C�����-�
�� 0� 0�1�
�d�#�755�<�6�6�"�
?����O�
�6�"�
�f��
�F�O�56�����)�
�� 1� 1�2�
�����0�
�7�?�?�#�
�7�?�?�+�
�G�O�O�V�,�
57�$�W�_�_�g�>�
&�����@�
�w��58�[2�F�hr�N)r��pygments.lexerr�pygments.tokenrrrrrr	r59r�
pygments.utilr�__all__r
rr�r�r��<module>r�sH���&����&��k�60*��k&�j�k&�\I�61�Ir�
codekingpro/portable-devtools · Team Ai