1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-11 13:25:37 +02:00
chroma/lexers/testdata/ballerina.expected
Alec Thomas bbc59ac372 Emit error tokens when there's a group mismatch.
Also don't panic/recover, as we no longer use panic to report "real"
errors.

Fixes #295.
2019-10-24 17:03:35 +11:00

27 lines
863 B
Plaintext

[
{"type":"KeywordNamespace","value":"import"},
{"type":"Text","value":" "},
{"type":"NameNamespace","value":"ballerina"},
{"type":"Operator","value":"/"},
{"type":"Name","value":"http"},
{"type":"Operator","value":";"},
{"type":"Text","value":"\n\n"},
{"type":"KeywordDeclaration","value":"endpoint"},
{"type":"Text","value":" "},
{"type":"Name","value":"http"},
{"type":"Operator","value":":"},
{"type":"Name","value":"Listener"},
{"type":"Text","value":" "},
{"type":"Name","value":"listener"},
{"type":"Text","value":" "},
{"type":"Operator","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Name","value":"port"},
{"type":"Operator","value":":"},
{"type":"Text","value":" "},
{"type":"Name","value":"9090"},
{"type":"Text","value":"\n"},
{"type":"Operator","value":"};"},
{"type":"Text","value":"\n"}
]