...

Text file src/github.com/alecthomas/chroma/v2/lexers/testdata/python/test_fstring_18a.expected

Documentation: github.com/alecthomas/chroma/v2/lexers/testdata/python

     1[
     2  {"type":"LiteralStringAffix","value":"f"},
     3  {"type":"LiteralStringSingle","value":"'"},
     4  {"type":"LiteralStringInterpol","value":"{"},
     5  {"type":"Name","value":"fn"},
     6  {"type":"Punctuation","value":"("},
     7  {"type":"Name","value":"lst"},
     8  {"type":"Punctuation","value":","},
     9  {"type":"LiteralNumberInteger","value":"2"},
    10  {"type":"Punctuation","value":")"},
    11  {"type":"LiteralStringInterpol","value":"}"},
    12  {"type":"LiteralStringSingle","value":" "},
    13  {"type":"LiteralStringInterpol","value":"{"},
    14  {"type":"Name","value":"fn"},
    15  {"type":"Punctuation","value":"("},
    16  {"type":"Name","value":"lst"},
    17  {"type":"Punctuation","value":","},
    18  {"type":"LiteralNumberInteger","value":"3"},
    19  {"type":"Punctuation","value":")"},
    20  {"type":"LiteralStringInterpol","value":"}"},
    21  {"type":"LiteralStringSingle","value":"'"},
    22  {"type":"Text","value":"\n"}
    23]

View as plain text