Added lexars

This commit is contained in:
Toastie 2025-03-22 20:46:00 +13:00
parent 382b2ce94b
commit f9f64b0558
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7
820 changed files with 149371 additions and 0 deletions
lexers/testdata

26
lexers/testdata/ballerina.expected vendored Normal file
View file

@ -0,0 +1,26 @@
[
{"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"}
]