33 lines
556 B
Plaintext
Raw Permalink Normal View History

2018-12-19 14:09:39 +08:00
void foo(int a) {}
foo(0);
Bar::foo;
----------------------------------------------------
[
["keyword", "void"],
["function", "foo"],
["punctuation", "("],
["keyword", "int"],
" a",
["punctuation", ")"],
["punctuation", "{"],
["punctuation", "}"],
["function", "foo"],
["punctuation", "("],
["number", "0"],
["punctuation", ")"],
["punctuation", ";"],
["class-name", "Bar"],
["operator", ":"],
["operator", ":"],
["function", "foo"],
["punctuation", ";"]
]
----------------------------------------------------
Checks for functions.