
    |eq                     \    d Z ddlmZmZ ddlmZmZmZmZm	Z	m
Z
mZmZ dgZ G d de      Zy)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                       e Zd ZdZdZdZdgZdgZdgZ e	dd	      e
j                  fZ e	d
d	      e
j                  fZ e	dd	      e
fZ e	dd	      e
fZ e	dd	      e
fZ e	dd	      e
fZ e	dd	      e
fZ e	dd	      e
j(                  fZdefdefdej0                  feeeeeeeedej4                  fdej4                  fdej4                  fdej4                  fdej6                  fdej8                  fdej:                  fdej<                  fdej@                  fdefde!jD                  fde!jD                  fd e!fd!e!jF                  fd"e!jF                  fd#e!d$fd%e$fd&e%fgd'e!jD                  fd(e!fd)e!d*fgd+Z&y,)-r   ze
    Lexer for the Zig language.

    grammar: https://ziglang.org/documentation/master/#Grammar
    Zigzhttp://www.ziglang.orgzigz*.zigztext/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]+z0b[01]+z0o[0-7]+z0x[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]*zc\\\\[^\n]*zc?"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)rootrf   N)'__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesr   r   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Heredocr   r   tokens     5/usr/lib/python3/dist-packages/pygments/lexers/zig.pyr   r      sS   
 D
"CgG	II 	 
  %	& 	M 	 6>C	E 		 	25A
 	 #+0	2 		 	=eL
 	u-O
 	.u=N
 	4UC JZ (   Fv||T7F0&,,?(&,,7 $&**%

+' t||,d# &--(R]]V$ FNN+V^^,VX& #H-{+Y-
^ O]]6"66"	
_5Fr   N)rl   pygments.lexerr   r   pygments.tokenr   r   r   r   r	   r
   r   r   __all__r   r   r   r   <module>r      s5    -$ $ $ ,jz jr   