File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/pawn.cpython-38.pyc
U
G�
\� � @ st d Z ddlmZ ddlmZmZmZmZmZm Z m
Z
mZmZ ddl
mZ ddgZG dd� de�ZG dd� 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� e Zd ZdZdZdgZdgZdgZdZdZ de
jd fd
e
jdfde d
e
jd fde d e
jdfdefdefdefde
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��rootr r r )N�Action�bool�FloatZPluginr �anyZ AdminFlagZOverrideTypeZOverrideRuleZImmunityTypeZGroupIdZAdminIdZ
AdmAccessModeZAdminCachePartZCookieAccessZ
CookieMenuZCookieMenuActionZNetFlowZConVarBoundsZQueryCookieZReplySourceZConVarQueryResultZConVarQueryFinishedZFunctionr: ZIdentityZPluginStatusZ
PluginInfoZDBResultZ
DBBindTypeZ
DBPriorityZPropTypeZ
PropFieldTypeZMoveTypeZ
RenderModeZRenderFxZ
EventHookModeZ EventHookZFileTypeZFileTimeModeZPathTypeZ ParamTypeZExecTypeZ
DialogTypeZHandleZKvDataTypesZNominateResultZ MapChangeZ MenuStyleZ
MenuActionZ
MenuSourceZ
RegexErrorZSDKCallTypeZ
SDKLibraryZSDKFuncConfSourceZSDKTypeZ
SDKPassMethodZRayTypeZTraceEntityFilterZListenOverrideZ SortOrderZSortTypeZ
SortFunc2DZAPLResZFeatureTypeZ
FeatureStatusZ SMCResultZSMCErrorZTFClassTypeZTFTeamZTFCondZTFResourceTypeZTimerZ
TopMenuActionZTopMenuObjectTypeZTopMenuPositionZ
TopMenuObjectZUserMsgc K sF t |dd�| _t� | _| jr4ddlm} | j�|� tj| f|� d S )NZ sourcemodTr )� FUNCTIONS) r �smhighlighting�set�
_functionsZ#pygments.lexers._sourcemod_builtinsr>