30 lines
580 B
Plaintext
30 lines
580 B
Plaintext
|
|x: int, y: int| -> int {}
|
||
|
|| {}
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
[
|
||
|
["closure-params", [
|
||
|
["punctuation", "|"],
|
||
|
"x",
|
||
|
["punctuation", ":"],
|
||
|
" int",
|
||
|
["punctuation", ","],
|
||
|
" y",
|
||
|
["punctuation", ":"],
|
||
|
" int",
|
||
|
["punctuation", "|"]
|
||
|
]],
|
||
|
["punctuation", "->"],
|
||
|
" int ", ["punctuation", "{"], ["punctuation", "}"],
|
||
|
|
||
|
["closure-params", [
|
||
|
["punctuation", "|"],
|
||
|
["punctuation", "|"]
|
||
|
]],
|
||
|
["punctuation", "{"], ["punctuation", "}"]
|
||
|
]
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
Checks for closure params.
|