3

V'ícqã@sVdZddlmZmZddlmZmZmZmZm	Z	m
Z
mZmZdgZ
Gdd„deƒZdS)zº
    pygments.lexers.zig
    ~~~~~~~~~~~~~~~~~~~

    Lexers for Zig.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚwords)ÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
WhitespaceÚZigLexerc$@s|eZdZdZdZdZdgZdgZdgZe	dyd*d+e
jfZe	dzd*d+e
j
fZe	d{d*d+e
fZe	d|d*d+e
fZe	d}d*d+e
fZe	d~d*d+e
fZe	dd*d+e
fZe	d€d*d+e
jfZd]efd^efd_ejfeeeeeeeed`ejfdaejfdbejfdcejfddejfdeejfdfejfdgejfdhej fdiefdje!j"fdke!j"fdle!fdme!j#fdne!j#fdoe!dpfdqe$fdre%fgdse!j"fdte!fdue!dvfgdwœZ&dxS)rze
    Lexer for the Zig language.

    grammar: https://ziglang.org/documentation/master/#Grammar
    ZZigzhttp://www.ziglang.orgZzigz*.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)ÚrootrbN)#r
rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/)r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@)rArBrCrD)rErFrGrHrIrJrKrLrMrNrOrPrQrR)rSrTrUrVrWrX)rYrZ)r[r\r])r^r_r`ra)'Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesrrÚTypeZ
type_keywordsZReservedZstorage_keywordsZstructure_keywordsZstatement_keywordsZconditional_keywordsZrepeat_keywordsZother_keywordsÚConstantZconstant_keywordsrrÚSingler	ZFloatZBinÚOctZHexZIntegerrZBuiltinrZEscapeZHeredocrr
Útokens©rsrsú7/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/zig.pyrs‚




N)rhZpygments.lexerrrZpygments.tokenrrrrrr	r
rÚ__all__rrsrsrsrtÚ<module>	s(