34 lines
717 B
Plaintext
34 lines
717 B
Plaintext
![]() |
void method<T, U>();
|
||
|
method<int, char>();
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
[
|
||
|
["keyword", "void"],
|
||
|
["generic-method", [
|
||
|
["function", "method"],
|
||
|
["punctuation", "<"],
|
||
|
["class-name", ["T"]],
|
||
|
["punctuation", ","],
|
||
|
["class-name", ["U"]],
|
||
|
["punctuation", ">"]
|
||
|
]],
|
||
|
["punctuation", "("],
|
||
|
["punctuation", ")"],
|
||
|
["punctuation", ";"],
|
||
|
["generic-method", [
|
||
|
["function", "method"],
|
||
|
["punctuation", "<"],
|
||
|
["keyword", "int"],
|
||
|
["punctuation", ","],
|
||
|
["keyword", "char"],
|
||
|
["punctuation", ">"]
|
||
|
]],
|
||
|
["punctuation", "("],
|
||
|
["punctuation", ")"],
|
||
|
["punctuation", ";"]
|
||
|
]
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
Checks for generic methods
|