| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/ |
Upload File : |
a
SҼac � @ sV d Z ddlmZmZ ddlmZmZmZmZm Z m
Z
mZmZ dgZ
G dd� de�ZdS )z�
pygments.lexers.zig
~~~~~~~~~~~~~~~~~~~
Lexers for Zig.
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� )�
RegexLexer�words)�Comment�Operator�Keyword�Name�String�Number�Punctuation�
Whitespace�ZigLexerc @ sx e Zd ZdZdZdgZdgZdgZeddd�e j
fZed dd�e jfZ
ed
dd�e fZeddd�e fZeddd�e fZed
dd�e fZeddd�e fZeddd�e jfZdefdefdejfee
eeeeeedejfdejfdejfdejfdejfdejfdejfdejfdejfdefde j!fde j!fde fd e j"fd!e j"fd"e d#fd$e#fd%e$fgd&e j!fd'e fd(e d)fgd*�Z%d+S ),r zz
For `Zig <http://www.ziglang.org>`_ source code.
grammar: https://ziglang.org/documentation/master/#Grammar
ZZigZzigz*.zigztext/zig)#�boolZf16Zf32Zf64Zf128ZvoidZnoreturn�typeZanyerrorZpromiseZi0Zu0ZisizeZusizeZcomptime_intZcomptime_floatZc_shortZc_ushortZc_intZc_uintZc_longZc_ulongZ
c_longlongZc_ulonglongZc_longdoubleZc_voidi8�u8Zi16�u16Zi32�u32Zi64Zu64Zi128Zu128z\b)�suffix)�const�varZexternZpackedZexportZpubZnoaliasZinlineZcomptimeZnakedccZ stdcallccZvolatileZ allowzeroZalignZlinksectionZthreadlocal)�struct�enum�union�error)�break�return�continueZasmZdeferZerrdeferZunreachable�tryZcatch�async�awaitZsuspendZresume�cancel)�if�elseZswitch�and�or�orelse)�while�for)�fnZusingnamespace�test)�trueZfalseZnullZ undefinedz\nz\s+z//.*?\nz50x[0-9a-fA-F]+\.[0-9a-fA-F]+([pP][\-+]?[0-9a-fA-F]+)?z'0x[0-9a-fA-F]+\.?[pP][\-+]?[0-9a-fA-F]+z [0-9]+\.[0-9]+([eE][-+]?[0-9]+)?z[0-9]+\.?[eE][-+]?[0-9]+z0b[01]+z0o[0-7]+z0x[0-9a-fA-F]+z[0-9]+z
@[a-zA-Z_]\w*z[a-zA-Z_]\w*z\'\\\'\'zB\'\\(x[a-fA-F0-9]{2}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{6}|[nr\\t\'"])\'z\'[^\\\']\'z
\\\\[^\n]*zc\\\\[^\n]*zc?"�stringz[+%=><|^!?/\-*&~:]z
[{}()\[\],.;]z>\\(x[a-fA-F0-9]{2}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{6}|[nr\\t\'"])z [^\\"\n]+�"z#pop)�rootr* N)&�__name__�
__module__�__qualname__�__doc__�name�aliases� filenamesZ mimetypesr r �TypeZ
type_keywordsZReservedZstorage_keywordsZstructure_keywordsZstatement_keywordsZconditional_keywordsZrepeat_keywordsZother_keywordsZConstantZconstant_keywordsr r �Singler ZFloatZBinZOctZHexZIntegerr ZBuiltinr ZEscapeZHeredocr r
�tokens� r7 r7 �7/usr/lib/python3.9/site-packages/pygments/lexers/zig.pyr s� ��
��
���
�
�
�
���/���N)r0 Zpygments.lexerr r Zpygments.tokenr r r r r r r
r �__all__r r7 r7 r7 r8 �<module> s
(