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

36
lexers/testdata/vbnet.expected vendored Normal file
View file

@ -0,0 +1,36 @@
[
{"type":"Keyword","value":"Imports"},
{"type":"Text","value":" "},
{"type":"NameNamespace","value":"System"},
{"type":"Text","value":"\n\n"},
{"type":"Keyword","value":"Public"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"Module"},
{"type":"Text","value":" "},
{"type":"NameNamespace","value":"Hello"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"Public"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"Sub"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"Main"},
{"type":"Punctuation","value":"("},
{"type":"Text","value":" "},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n "},
{"type":"Name","value":"Console"},
{"type":"Punctuation","value":"."},
{"type":"Name","value":"WriteLine"},
{"type":"Punctuation","value":"("},
{"type":"LiteralString","value":"\"hello, world\""},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"End"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"Sub"},
{"type":"Text","value":"\n"},
{"type":"Keyword","value":"End"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"Module"},
{"type":"Text","value":"\n"}
]