...

Text file src/github.com/alecthomas/chroma/lexers/testdata/http.2.expected

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

     1[
     2  {"type":"NameFunction","value":"GET"},
     3  {"type":"Text","value":" "},
     4  {"type":"NameNamespace","value":"/foo"},
     5  {"type":"Text","value":" "},
     6  {"type":"KeywordReserved","value":"HTTP"},
     7  {"type":"Operator","value":"/"},
     8  {"type":"LiteralNumber","value":"2.0"},
     9  {"type":"Text","value":"\n"},
    10  {"type":"Name","value":"Content-Type"},
    11  {"type":"Operator","value":":"},
    12  {"type":"Text","value":" "},
    13  {"type":"Literal","value":"application/json"},
    14  {"type":"Text","value":"\n"},
    15  {"type":"Name","value":"User-Agent"},
    16  {"type":"Operator","value":":"},
    17  {"type":"Text","value":" "},
    18  {"type":"Literal","value":"foo"},
    19  {"type":"Text","value":"\n\n"},
    20  {"type":"Punctuation","value":"{"},
    21  {"type":"NameTag","value":"\"hello\""},
    22  {"type":"Punctuation","value":":"},
    23  {"type":"Text","value":" "},
    24  {"type":"LiteralStringDouble","value":"\"world\""},
    25  {"type":"Punctuation","value":"}"},
    26  {"type":"Text","value":"\n"}
    27]

View as plain text