3

V'ícñã@sZdZddlmZmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
dgZGdd„deƒZdS)zØ
    pygments.lexers.meson
    ~~~~~~~~~~~~~~~~~~~~~

    Pygments lexer for the Meson build system

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚwordsÚinclude)ÚCommentÚNameÚNumberÚPunctuationÚOperatorÚKeywordÚStringÚ
WhitespaceÚ
MesonLexerc7@sòeZdZdZdZdZddgZddgZdgZde	fd	e
jfd
ej
fdejfdejfed
ƒedƒedƒdefdefg
de
fde
fged^ddefgdejfdefd efed_ddejfed#ƒed`ddejjfgedadYddZejfd[ejfgd\œZd]S)br
a]Meson language lexer.

    The grammar definition use to transcribe the syntax was retrieved from
    https://mesonbuild.com/Syntax.html#grammar for version 0.58.
    Some of those definitions are improperly transcribed, so the Meson++
    implementation was also checked: https://github.com/dcbaker/meson-plus-plus.

    .. versionadded:: 2.10
    ZMesonzhttps://mesonbuild.com/Úmesonzmeson.buildzmeson_options.txtztext/x-mesonz#.*?$z'''.*'''z[1-9][0-9]*z0o[0-7]+z0x[a-fA-F0-9]+ÚstringÚkeywordsÚexprz[a-zA-Z_][a-zA-Z_0-9]*z\s+z([']{3}([']{0,2}([^\\']|\\(.|\n)))*[']{3}z'.*?(?<!\\)(\\\\)*?'ÚifÚelifÚelseÚendifÚforeachÚ
endforeachÚbreakÚcontinuez\b)Úsuffixz(in|and|or|not)\bz (\*=|/=|%=|\+]=|-=|==|!=|\+|-|=)z[\[\]{}:().,?]ÚtrueÚfalseÚbuiltinsÚ
build_machineÚhost_machineÚtarget_machineÚadd_global_argumentsÚadd_global_link_argumentsÚ
add_languagesÚadd_project_argumentsÚadd_project_link_argumentsÚadd_test_setupÚassertÚ	benchmarkÚboth_librariesÚbuild_targetÚconfiguration_dataÚconfigure_fileÚ
custom_targetÚdeclare_dependencyÚ
dependencyÚdisablerÚenvironmentÚerrorÚ
executableÚfilesÚfind_libraryÚfind_programÚ	generatorÚ
get_optionÚget_variableÚinclude_directoriesÚinstall_dataÚinstall_headersÚinstall_manÚinstall_subdirÚis_disablerÚis_variableÚjarÚ
join_pathsÚlibraryÚmessageÚprojectÚrangeÚrun_commandÚset_variableÚshared_libraryÚ
shared_moduleÚstatic_libraryÚsubdirÚsubdir_doneÚ
subprojectÚsummaryÚtestÚvcs_tagÚwarningz(?<!\.))Úprefixrz(?<!\.)import\b)ÚrootrrrrN)rrrrrrrr)rr)rrrr )2r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrR)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesrrÚSinglerZIntegerÚOctZHexrrrrr
r	ÚWordrÚConstantÚVariableZMagicZBuiltinÚ	NamespaceÚtokens©rereú9/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/meson.pyr
sº	N)rXZpygments.lexerrrrZpygments.tokenrrrrr	r
rrÚ__all__r
rerererfÚ<module>	s(