Added lexars
This commit is contained in:
parent
382b2ce94b
commit
f9f64b0558
820 changed files with 149371 additions and 0 deletions
lexers/testdata/python
39
lexers/testdata/python/test_fstring_19b.expected
vendored
Normal file
39
lexers/testdata/python/test_fstring_19b.expected
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
[
|
||||
{"type":"LiteralStringAffix","value":"f"},
|
||||
{"type":"LiteralStringDouble","value":"\"mapping is "},
|
||||
{"type":"LiteralStringInterpol","value":"{"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"{"},
|
||||
{"type":"Name","value":"a"},
|
||||
{"type":"Punctuation","value":":"},
|
||||
{"type":"Name","value":"b"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Keyword","value":"for"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"Name","value":"a"},
|
||||
{"type":"Punctuation","value":","},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Name","value":"b"},
|
||||
{"type":"Punctuation","value":")"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"OperatorWord","value":"in"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"(("},
|
||||
{"type":"LiteralNumberInteger","value":"1"},
|
||||
{"type":"Punctuation","value":","},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberInteger","value":"2"},
|
||||
{"type":"Punctuation","value":"),"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"Punctuation","value":"("},
|
||||
{"type":"LiteralNumberInteger","value":"3"},
|
||||
{"type":"Punctuation","value":","},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralNumberInteger","value":"4"},
|
||||
{"type":"Punctuation","value":"))}"},
|
||||
{"type":"Text","value":" "},
|
||||
{"type":"LiteralStringInterpol","value":"}"},
|
||||
{"type":"LiteralStringDouble","value":"\""},
|
||||
{"type":"Text","value":"\n"}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue