chroma/lexers/testdata/python/test_structural_pattern_matching.expected

24 lines
786 B
Text
Raw Permalink Normal View History

2025-03-22 20:46:00 +13:00
[
{"type":"Name","value":"var"},
{"type":"Text","value":" "},
{"type":"Operator","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralNumberInteger","value":"1"},
{"type":"Text","value":"\n\n"},
{"type":"Keyword","value":"match"},
{"type":"Text","value":" "},
{"type":"Name","value":"var"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"case"},
{"type":"Text","value":" "},
{"type":"LiteralNumberInteger","value":"1"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":"\n "},
{"type":"NameBuiltin","value":"print"},
{"type":"Punctuation","value":"("},
{"type":"LiteralStringDouble","value":"\"Test\""},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n"}
]