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/python

View file

@ -0,0 +1,21 @@
[
{"type":"LiteralStringAffix","value":"f"},
{"type":"LiteralStringSingle","value":"'My name is "},
{"type":"LiteralStringInterpol","value":"{"},
{"type":"Name","value":"name"},
{"type":"LiteralStringInterpol","value":"}"},
{"type":"LiteralStringSingle","value":", my age next year is "},
{"type":"LiteralStringInterpol","value":"{"},
{"type":"Name","value":"age"},
{"type":"Operator","value":"+"},
{"type":"LiteralNumberInteger","value":"1"},
{"type":"LiteralStringInterpol","value":"}"},
{"type":"LiteralStringSingle","value":", my anniversary is "},
{"type":"LiteralStringInterpol","value":"{"},
{"type":"Name","value":"anniversary"},
{"type":"LiteralStringInterpol","value":":"},
{"type":"LiteralStringSingle","value":"%A, %B %d, %Y"},
{"type":"LiteralStringInterpol","value":"}"},
{"type":"LiteralStringSingle","value":".'"},
{"type":"Text","value":"\n"}
]