mirror of
https://github.com/alecthomas/chroma.git
synced 2025-02-13 13:28:27 +02:00
106 lines
3.5 KiB
Plaintext
106 lines
3.5 KiB
Plaintext
[
|
|
{"type":"CommentPreproc","value":"#include"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"CommentPreprocFile","value":"\"a\""},
|
|
{"type":"CommentPreproc","value":"\n#include"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"CommentPreprocFile","value":"\u003cb\u003e"},
|
|
{"type":"CommentPreproc","value":"\n"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Keyword","value":"public"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"KeywordType","value":"void"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"foo"},
|
|
{"type":"Punctuation","value":"();"},
|
|
{"type":"Text","value":"\n\n"},
|
|
{"type":"Keyword","value":"enum"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"class"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"E"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Punctuation","value":"{"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"A"},
|
|
{"type":"Punctuation","value":","},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"B"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Punctuation","value":"};"},
|
|
{"type":"Text","value":"\n\n"},
|
|
{"type":"Keyword","value":"enum"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"class"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Punctuation","value":"{"},
|
|
{"type":"Text","value":"\n "},
|
|
{"type":"Name","value":"a"},
|
|
{"type":"Punctuation","value":","},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"b"},
|
|
{"type":"Punctuation","value":","},
|
|
{"type":"Text","value":"\n "},
|
|
{"type":"Name","value":"c"},
|
|
{"type":"Punctuation","value":","},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Punctuation","value":"}"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"e"},
|
|
{"type":"Punctuation","value":";"},
|
|
{"type":"Text","value":"\n\n"},
|
|
{"type":"Keyword","value":"enum"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"E"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Punctuation","value":"{"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"A"},
|
|
{"type":"Punctuation","value":","},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"B"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Punctuation","value":"};"},
|
|
{"type":"Text","value":"\n\n"},
|
|
{"type":"Name","value":"class"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"A"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Punctuation","value":"{"},
|
|
{"type":"Text","value":"\n "},
|
|
{"type":"KeywordType","value":"void"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"foo"},
|
|
{"type":"Punctuation","value":"();"},
|
|
{"type":"Text","value":"\n "},
|
|
{"type":"KeywordType","value":"void"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"bar"},
|
|
{"type":"Punctuation","value":"();"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Punctuation","value":"};"},
|
|
{"type":"Text","value":"\n\n"},
|
|
{"type":"KeywordType","value":"int"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Name","value":"main"},
|
|
{"type":"Punctuation","value":"()"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Punctuation","value":"{"},
|
|
{"type":"Text","value":"\n "},
|
|
{"type":"Keyword","value":"return"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"LiteralNumberInteger","value":"0"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Operator","value":"+"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"LiteralNumberInteger","value":"13"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Operator","value":"+"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"LiteralNumberFloat","value":"1.4"},
|
|
{"type":"Punctuation","value":";"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Punctuation","value":"}"},
|
|
{"type":"Text","value":"\n"}
|
|
]
|