HOME


Mini Shell 1.0
DIR: /lib/python3/dist-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/pygments/lexers/__pycache__/zig.cpython-312.pyc
�

|�eq��\�dZddlmZmZddlmZmZmZmZm	Z	m
Z
mZmZdgZ
Gd�de�Zy)z�
    pygments.lexers.zig
    ~~~~~~~~~~~~~~~~~~~

    Lexers for Zig.

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
RegexLexer�words)�Comment�Operator�Keyword�Name�String�Number�Punctuation�
Whitespace�ZigLexerc��eZdZdZdZdZdgZdgZdgZe	dd�	�e
jfZe	d
d�	�e
jfZe	dd�	�e
fZe	dd�	�e
fZe	d
d�	�e
fZe	dd�	�e
fZe	dd�	�e
fZe	dd�	�e
j(fZdefdefdej0feeeeeeeedej4fdej4fdej4fdej4fdej6fdej8fdej:fdej<fdej@fdefde!jDfde!jDfd e!fd!e!jFfd"e!jFfd#e!d$fd%e$fd&e%fgd'e!jDfd(e!fd)e!d*fgd+�Z&y,)-r
ze
    Lexer for the Zig language.

    grammar: https://ziglang.org/documentation/master/#Grammar
    �Zigzhttp://www.ziglang.org�zigz*.zigztext/zig)#�bool�f16�f32�f64�f128�void�noreturn�type�anyerror�promise�i0�u0�isize�usize�comptime_int�comptime_float�c_short�c_ushort�c_int�c_uint�c_long�c_ulong�
c_longlong�c_ulonglong�c_longdouble�c_voidi8�u8�i16�u16�i32�u32�i64�u64�i128�u128z\b)�suffix)�const�var�extern�packed�export�pub�noalias�inline�comptime�nakedcc�	stdcallcc�volatile�	allowzero�align�linksection�threadlocal)�struct�enum�union�error)�break�return�continue�asm�defer�errdefer�unreachable�try�catch�async�await�suspend�resume�cancel)�if�else�switch�and�or�orelse)�while�for)�fn�usingnamespace�test)�true�false�null�	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)�rootrfN)'�__name__�
__module__�__qualname__�__doc__�name�url�aliases�	filenames�	mimetypesrr�Type�
type_keywords�Reserved�storage_keywords�structure_keywords�statement_keywords�conditional_keywords�repeat_keywords�other_keywords�Constant�constant_keywordsrr�Singler
�Float�Bin�Oct�Hex�Integerr�Builtinr	�Escape�Heredocrr�tokens���5/usr/lib/python3/dist-packages/pygments/lexers/zig.pyr
r
sS���
�D�
"�C��g�G��	�I���I�	��
 %�	&�	����M�	�6�>C�	E�	���	��	�2�5�A����
	�#�+0�	2�	�	��	�=�e�L����
	��u�-���O�
	�.�u�=���N�
	�4�U�C�������J��
�Z� �
����(�
������ ��F�v�|�|�T�
7����F�
0�&�,�,�?�
(�&�,�,�7�����$�
�&�*�*�%�
��
�
�+�
����'��t�|�|�,�
�d�#��&�-�-�(�
R�
�]�]�
�
�V�$��F�N�N�+�
�V�^�^�,�
�V�X�&�#�H�-�
�{�+�Y-
�^O�
�]�]�
�
�6�"�
�6�6�"�	
�_5�Fr�N)rl�pygments.lexerrr�pygments.tokenrrrrr	r
rr�__all__r
r�r�r��<module>r�s5���-�$�$�$��,��j�z�jr�