chroma/lexers/testdata/meson.expected
2025-03-22 20:46:00 +13:00

67 lines
2.6 KiB
Text

[
{"type":"NameBuiltin","value":"project"},
{"type":"Punctuation","value":"("},
{"type":"LiteralString","value":"'foo'"},
{"type":"Punctuation","value":","},
{"type":"TextWhitespace","value":" "},
{"type":"LiteralString","value":"'cpp'"},
{"type":"Punctuation","value":","},
{"type":"TextWhitespace","value":" "},
{"type":"Name","value":"default_options"},
{"type":"TextWhitespace","value":" "},
{"type":"Punctuation","value":":"},
{"type":"TextWhitespace","value":" "},
{"type":"Punctuation","value":"["},
{"type":"LiteralString","value":"'warning_level=3'"},
{"type":"Punctuation","value":"])"},
{"type":"TextWhitespace","value":"\n\n"},
{"type":"Name","value":"required_modules"},
{"type":"TextWhitespace","value":" "},
{"type":"Operator","value":"="},
{"type":"TextWhitespace","value":" "},
{"type":"Punctuation","value":"["},
{"type":"LiteralString","value":"'gnome'"},
{"type":"Punctuation","value":"]"},
{"type":"TextWhitespace","value":"\n\n"},
{"type":"Keyword","value":"foreach"},
{"type":"TextWhitespace","value":" "},
{"type":"Name","value":"mod"},
{"type":"TextWhitespace","value":" "},
{"type":"OperatorWord","value":"in"},
{"type":"TextWhitespace","value":" "},
{"type":"Name","value":"required_modules"},
{"type":"TextWhitespace","value":"\n "},
{"type":"NameNamespace","value":"import"},
{"type":"Punctuation","value":"("},
{"type":"Name","value":"mod"},
{"type":"Punctuation","value":")"},
{"type":"TextWhitespace","value":"\n"},
{"type":"Keyword","value":"endforeach"},
{"type":"TextWhitespace","value":"\n\n"},
{"type":"Comment","value":"# Comment"},
{"type":"TextWhitespace","value":"\n"},
{"type":"Name","value":"zlib_dep"},
{"type":"TextWhitespace","value":" "},
{"type":"Operator","value":"="},
{"type":"TextWhitespace","value":" "},
{"type":"NameBuiltin","value":"dependency"},
{"type":"Punctuation","value":"("},
{"type":"LiteralString","value":"'zlib'"},
{"type":"Punctuation","value":")"},
{"type":"TextWhitespace","value":"\n"},
{"type":"NameBuiltin","value":"executable"},
{"type":"Punctuation","value":"("},
{"type":"LiteralStringSingle","value":"'''bar'''"},
{"type":"Punctuation","value":","},
{"type":"TextWhitespace","value":" "},
{"type":"LiteralString","value":"'main.cc'"},
{"type":"Punctuation","value":","},
{"type":"TextWhitespace","value":" "},
{"type":"Name","value":"dependencies"},
{"type":"TextWhitespace","value":" "},
{"type":"Punctuation","value":":"},
{"type":"TextWhitespace","value":" "},
{"type":"Name","value":"zlib_dep"},
{"type":"Punctuation","value":")"},
{"type":"TextWhitespace","value":"\n"}
]