| 1 |
int add(int foo, int bar = 0); |
| 2 |
|
| 3 |
void logMessage(string message); |
| 4 |
|
| 5 |
void goKaboom() throws Kaboom; |
| 6 |
|
| 7 |
void fireAndForget(string message) oneway; |
| 8 |
|
| 9 |
void `error`(); |
| 10 |
|
| 11 |
---------------------------------------------------- |
| 12 |
|
| 13 |
[ |
| 14 |
["keyword", "int"], |
| 15 |
["function", "add"], |
| 16 |
["punctuation", "("], |
| 17 |
["keyword", "int"], |
| 18 |
" foo", |
| 19 |
["punctuation", ","], |
| 20 |
["keyword", "int"], |
| 21 |
" bar ", |
| 22 |
["operator", "="], |
| 23 |
["number", "0"], |
| 24 |
["punctuation", ")"], |
| 25 |
["punctuation", ";"], |
| 26 |
|
| 27 |
["keyword", "void"], |
| 28 |
["function", "logMessage"], |
| 29 |
["punctuation", "("], |
| 30 |
["keyword", "string"], |
| 31 |
" message", |
| 32 |
["punctuation", ")"], |
| 33 |
["punctuation", ";"], |
| 34 |
|
| 35 |
["keyword", "void"], |
| 36 |
["function", "goKaboom"], |
| 37 |
["punctuation", "("], |
| 38 |
["punctuation", ")"], |
| 39 |
["keyword", "throws"], |
| 40 |
["class-name", "Kaboom"], |
| 41 |
["punctuation", ";"], |
| 42 |
|
| 43 |
["keyword", "void"], |
| 44 |
["function", "fireAndForget"], |
| 45 |
["punctuation", "("], |
| 46 |
["keyword", "string"], |
| 47 |
" message", |
| 48 |
["punctuation", ")"], |
| 49 |
["keyword", "oneway"], |
| 50 |
["punctuation", ";"], |
| 51 |
|
| 52 |
["keyword", "void"], |
| 53 |
["function-identifier", "`error`"], |
| 54 |
["punctuation", "("], |
| 55 |
["punctuation", ")"], |
| 56 |
["punctuation", ";"] |
| 57 |
] |