1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-04-11 11:32:05 +02:00
chroma/lexers/testdata/cpp.expected
2018-02-08 12:26:28 +11:00

38 lines
1.2 KiB
Plaintext

[
{"type":"Keyword","value":"template"},
{"type":"Text","value":" "},
{"type":"Operator","value":"\u003c"},
{"type":"Keyword","value":"typename"},
{"type":"Text","value":" "},
{"type":"Name","value":"T"},
{"type":"Operator","value":"\u003e"},
{"type":"Text","value":"\n"},
{"type":"KeywordType","value":"void"},
{"type":"Text","value":" "},
{"type":"Name","value":"func"},
{"type":"Punctuation","value":"("},
{"type":"Keyword","value":"const"},
{"type":"Text","value":" "},
{"type":"Name","value":"std"},
{"type":"Operator","value":"::"},
{"type":"Name","value":"string"},
{"type":"Text","value":" "},
{"type":"Operator","value":"\u0026"},
{"type":"Name","value":"s"},
{"type":"Punctuation","value":","},
{"type":"Text","value":" "},
{"type":"Keyword","value":"const"},
{"type":"Text","value":" "},
{"type":"Name","value":"T"},
{"type":"Text","value":" "},
{"type":"Operator","value":"\u0026"},
{"type":"Name","value":"t"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":" "},
{"type":"CommentSingle","value":"// Do interesting things.\n"}
]