mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-11-01 19:53:43 +00:00
use prism-tomorrow.css
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user