|eq\dZddlmZmZddlmZmZmZmZm Z m Z m Z m Z dgZ GddeZy)z pygments.lexers.zig ~~~~~~~~~~~~~~~~~~~ Lexers for Zig. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerwords)CommentOperatorKeywordNameStringNumber Punctuation WhitespaceZigLexerceZdZdZdZdZdgZdgZdgZe dd e jfZ e d d e jfZe d d 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.orgzigz*.zigztext/zig)#boolf16f32f64f128voidnoreturntypeanyerrorpromisei0u0isizeusize comptime_intcomptime_floatc_shortc_ushortc_intc_uintc_longc_ulong c_longlong c_ulonglong c_longdoublec_voidi8u8i16u16i32u32i64u64i128u128z\b)suffix)constvarexternpackedexportpubnoaliasinlinecomptimenakedcc stdcallccvolatile allowzeroalign linksection threadlocal)structenumunionerror)breakreturncontinueasmdefererrdefer unreachabletrycatchasyncawaitsuspendresumecancel)ifelseswitchandororelse)whilefor)fnusingnamespacetest)truefalsenull 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]*z c\\\\[^\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__nameurlaliases filenames mimetypesrrType type_keywordsReservedstorage_keywordsstructure_keywordsstatement_keywordsconditional_keywordsrepeat_keywordsother_keywordsConstantconstant_keywordsr rSingler FloatBinOctHexIntegerrBuiltinr EscapeHeredocrr tokens5/usr/lib/python3/dist-packages/pygments/lexers/zig.pyr r sS D "CgG I I  %  &  M 6>C E   25A #+0 2   =eL u-O .u=N 4UC J  Z  (       Fv|| T 7 F 0&,, ? (&,, 7 $ &** %  +  't|| , d #&-- ( R ]]  V $FNN + V^^ , VX &#H - { +Y- ^O ]]  6 " 66 "  _5FrN)rlpygments.lexerrrpygments.tokenrrrrr r r r __all__r rrrrs5-$$$ ,jzjr