...

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

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

     1[
     2  {"type":"Keyword","value":"if"},
     3  {"type":"Text","value":" "},
     4  {"type":"Punctuation","value":"("},
     5  {"type":"Name","value":"a"},
     6  {"type":"Text","value":" "},
     7  {"type":"Operator","value":":="},
     8  {"type":"Text","value":" "},
     9  {"type":"LiteralNumberInteger","value":"2"},
    10  {"type":"Punctuation","value":")"},
    11  {"type":"Text","value":" "},
    12  {"type":"Operator","value":"\u003e"},
    13  {"type":"Text","value":" "},
    14  {"type":"LiteralNumberInteger","value":"4"},
    15  {"type":"Punctuation","value":":"},
    16  {"type":"Text","value":"\n"}
    17]

View as plain text