...

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

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

     1[
     2  {"type":"LiteralStringAffix","value":"f"},
     3  {"type":"LiteralStringSingle","value":"'mapping is "},
     4  {"type":"LiteralStringInterpol","value":"{"},
     5  {"type":"Text","value":" "},
     6  {"type":"Punctuation","value":"{"},
     7  {"type":"Name","value":"a"},
     8  {"type":"Punctuation","value":":"},
     9  {"type":"Name","value":"b"},
    10  {"type":"Text","value":" "},
    11  {"type":"Keyword","value":"for"},
    12  {"type":"Text","value":" "},
    13  {"type":"Punctuation","value":"("},
    14  {"type":"Name","value":"a"},
    15  {"type":"Punctuation","value":","},
    16  {"type":"Text","value":" "},
    17  {"type":"Name","value":"b"},
    18  {"type":"Punctuation","value":")"},
    19  {"type":"Text","value":" "},
    20  {"type":"OperatorWord","value":"in"},
    21  {"type":"Text","value":" "},
    22  {"type":"Punctuation","value":"(("},
    23  {"type":"LiteralNumberInteger","value":"1"},
    24  {"type":"Punctuation","value":","},
    25  {"type":"Text","value":" "},
    26  {"type":"LiteralNumberInteger","value":"2"},
    27  {"type":"Punctuation","value":"),"},
    28  {"type":"Text","value":" "},
    29  {"type":"Punctuation","value":"("},
    30  {"type":"LiteralNumberInteger","value":"3"},
    31  {"type":"Punctuation","value":","},
    32  {"type":"Text","value":" "},
    33  {"type":"LiteralNumberInteger","value":"4"},
    34  {"type":"Punctuation","value":"))}"},
    35  {"type":"Text","value":" "},
    36  {"type":"LiteralStringInterpol","value":"}"},
    37  {"type":"LiteralStringSingle","value":"'"},
    38  {"type":"Text","value":"\n"}
    39]

View as plain text