...

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

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

     1[
     2  {"type":"Name","value":"extra"},
     3  {"type":"Text","value":" "},
     4  {"type":"Operator","value":"="},
     5  {"type":"Text","value":" "},
     6  {"type":"LiteralStringAffix","value":"f"},
     7  {"type":"LiteralStringSingle","value":"'"},
     8  {"type":"LiteralStringInterpol","value":"{"},
     9  {"type":"Name","value":"extra"},
    10  {"type":"LiteralStringInterpol","value":"}"},
    11  {"type":"LiteralStringSingle","value":",waiters:"},
    12  {"type":"LiteralStringInterpol","value":"{"},
    13  {"type":"NameBuiltin","value":"len"},
    14  {"type":"Punctuation","value":"("},
    15  {"type":"NameBuiltinPseudo","value":"self"},
    16  {"type":"Operator","value":"."},
    17  {"type":"Name","value":"_waiters"},
    18  {"type":"Punctuation","value":")"},
    19  {"type":"LiteralStringInterpol","value":"}"},
    20  {"type":"LiteralStringSingle","value":"'"},
    21  {"type":"Text","value":"\n"}
    22]

View as plain text