| 1 | (comment) @comment |
| 2 | |
| 3 | (keyword_interface) @keyword |
| 4 | (keyword_type) @keyword.storage.type |
| 5 | (keyword_method) @keyword.function |
| 6 | (keyword_error) @keyword.storage.type |
| 7 | |
| 8 | (interface_name) @string |
| 9 | (method name: (_) @function) |
| 10 | (error name: (_) @type) |
| 11 | (typedef name: (_) @type) |
| 12 | (typeref (name) @type) |
| 13 | (struct_field name: (_) @variable.parameter) |
| 14 | (enum member: (_) @type) |
| 15 | |
| 16 | [ |
| 17 | (bool) |
| 18 | (int) |
| 19 | (float) |
| 20 | (string) |
| 21 | (object) |
| 22 | (any) |
| 23 | ] @type.builtin |
| 24 | |
| 25 | [ |
| 26 | "(" |
| 27 | ")" |
| 28 | "[" |
| 29 | "]" |
| 30 | ] @punctuation.bracket |
| 31 | |
| 32 | [ |
| 33 | "," |
| 34 | ":" |
| 35 | ] @punctuation.delimiter |
| 36 | |
| 37 | [ |
| 38 | (questionmark) |
| 39 | (arrow) |
| 40 | ] @operator |