...

Text file src/github.com/alecthomas/chroma/v2/lexers/testdata/python2/test_cls_builtin.expected

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

     1[
     2  {"type":"Keyword","value":"class"},
     3  {"type":"Text","value":" "},
     4  {"type":"NameClass","value":"TestClass"},
     5  {"type":"Punctuation","value":"():"},
     6  {"type":"Text","value":"\n    "},
     7  {"type":"NameDecorator","value":"@classmethod"},
     8  {"type":"Text","value":"\n    "},
     9  {"type":"Keyword","value":"def"},
    10  {"type":"Text","value":" "},
    11  {"type":"NameFunction","value":"hello"},
    12  {"type":"Punctuation","value":"("},
    13  {"type":"NameBuiltinPseudo","value":"cls"},
    14  {"type":"Punctuation","value":"):"},
    15  {"type":"Text","value":"\n        "},
    16  {"type":"Keyword","value":"pass"},
    17  {"type":"Text","value":"\n"}
    18]

View as plain text