3

V'ícã@szdZddlmZmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
mZdgZdZedZdd„Zd	d
„ZGdd„deƒZdS)
    pygments.lexers.jsonnet
    ~~~~~~~~~~~~~~~~~~~~~~~

    Lexer for Jsonnet data templating language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)ÚincludeÚ
RegexLexerÚwords)	ÚCommentÚKeywordÚNameÚNumberÚOperatorÚPunctuationÚStringÚTextÚ
WhitespaceÚJsonnetLexerz
[^\W\d]\w*z(?=\()cCs dj|ƒtfdtjf|tdfgS)Nz[^{}\\]z\\.z#pop)ÚformatrZEscape)Ú
quote_mark©rú;/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/jsonnet.pyÚstring_rulessrcCsdj|dtjdfgS)Nz([^{quote}\\]|\\.)*{quote})ÚquoteÚfield_separator)rrÚVariable)rrrrÚquoted_field_names
rc@sÂeZdZdZdZdgZddgZdZdej	fde
jfd	efged
ƒde
fde
fd
e
dfde
dfde
fde
jfdefdedfdedfdedfdedfedddddd d!d"d#d$d%d&d'd(d)gd*d+efd,efd-ed.fd/eejd0feejd0feejfd1efged
ƒedƒd2efd3ed4fed5ƒgeejd.feejfd,efd6edOfgd8efd9ed4fed5ƒgd:efd9ed4fed5ƒgeejfd;efd<ed4fd2efd,efd8ed=fgd;efd<ed4fd2efd,efed5ƒgd,efded>fded?fded@fdAe›dBedCfdDed4fdejdEfd
ejdFfed
ƒg	eejdPfeejdGfgedƒed
ƒd3edGfed5ƒgdHed4fed5ƒgd,efdIedQfed
ƒgd2ed4fdDedKfed5ƒgd:efd2ed4fed5ƒgeejdRfd,efgd8efd2ed4fdDedKfed5ƒgdMœZdNS)SrzLexer for Jsonnet source code.ZJsonnetZjsonnetz	*.jsonnetz*.libsonnetzhttps://jsonnet.orgz
(//|#).*\nz/\*\*([^/]|/(?!\*))*\*/z/\*([^/]|/(?!\*))*\*/Ú	_commentsz@'.*'z@".*"ú'Úsinglestringú"Údoublestringz\|\|\|(.|\n)*\|\|\|z[+-]?[0-9]+(.[0-9])?z[!$~+\-&|^=<>*/%]z\{Úobjectz\[Úarrayzlocal\bÚ
local_namezassert\bÚassertÚelseÚerrorÚfalseÚforÚifÚimportZ	importstrÚinÚnullZ
tailstrictZthenÚselfÚsuperÚtruez\b)Úsuffixz\s+zfunction(?=\()Úfunction_paramszstd\.Ú
function_argsz[\.()]ú,z\]ú#popÚrootz(?==)Úlocal_valueú=ú;ú:z\(z\)Úfunction_param_defaultÚobject_local_nameÚ
object_assertÚfield_name_exprz(?=ú)Ú
field_namez\}Údouble_field_nameÚsingle_field_namerz	(?=[,\)])z\+?::?:?Úfield_valuez#pop:2Úobject_local_value)rr1rrrrr2r r-r.rr;r<r=r9r6rr>r8r7r?N)r0r2)rr-)r0r0r>)r0r?)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚurlrÚSinglerZDocrrZFloatr	r
rrr
Újsonnet_function_tokenrZBuiltinZFunctionÚ
jsonnet_tokenrrrrÚtokensrrrrr$s´







N)rCZpygments.lexerrrrZpygments.tokenrrrrr	r
rrr
Ú__all__rJrIrrrrrrrÚ<module>	s,