use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,67 @@
|
||||
public class Solo<T> {}
|
||||
Solo<Integer> val = new Solo<Integer>();
|
||||
Duo<Double, Character> dual = new Duo<Double, Character>(12.2585, 'C');
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "public"],
|
||||
["keyword", "class"],
|
||||
["class-name", "Solo"],
|
||||
["generics", [
|
||||
["punctuation", "<"],
|
||||
["class-name", "T"],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["punctuation", "{"],
|
||||
["punctuation", "}"],
|
||||
|
||||
["class-name", "Solo"],
|
||||
["generics", [
|
||||
["punctuation", "<"],
|
||||
["class-name", "Integer"],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
" val ",
|
||||
["operator", "="],
|
||||
["keyword", "new"],
|
||||
["class-name", "Solo"],
|
||||
["generics", [
|
||||
["punctuation", "<"],
|
||||
["class-name", "Integer"],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["punctuation", "("],
|
||||
["punctuation", ")"],
|
||||
["punctuation", ";"],
|
||||
|
||||
["class-name", "Duo"],
|
||||
["generics", [
|
||||
["punctuation", "<"],
|
||||
["class-name", "Double"],
|
||||
["punctuation", ","],
|
||||
["class-name", "Character"],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
" dual ",
|
||||
["operator", "="],
|
||||
["keyword", "new"],
|
||||
["class-name", "Duo"],
|
||||
["generics", [
|
||||
["punctuation", "<"],
|
||||
["class-name", "Double"],
|
||||
["punctuation", ","],
|
||||
["class-name", "Character"],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["punctuation", "("],
|
||||
["number", "12.2585"],
|
||||
["punctuation", ","],
|
||||
["string", "'C'"],
|
||||
["punctuation", ")"],
|
||||
["punctuation", ";"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for generics.
|
Reference in New Issue
Block a user