| 1 | (condition_declaration |
| 2 | name: (identifier) @function) |
| 3 | |
| 4 | (condition_declaration |
| 5 | (param |
| 6 | name: (identifier) @variable.parameter)) |
| 7 | |
| 8 | (conditional |
| 9 | condition: (identifier) @function) |
| 10 | |
| 11 | (type_declaration |
| 12 | name: (extended_identifier) @type) |
| 13 | |
| 14 | (definition |
| 15 | relation: (extended_identifier) @variable) |
| 16 | |
| 17 | (indirect_relation |
| 18 | relation: (extended_identifier) @variable.other.member |
| 19 | tupleset: (extended_identifier) @variable) |
| 20 | |
| 21 | (relation_ref) @type |
| 22 | (all) @type |
| 23 | |
| 24 | ((simple_type_identifier) @type.builtin) |
| 25 | |
| 26 | ((container_type_identifier) @type.builtin) |
| 27 | |
| 28 | (version) @constant.numeric |
| 29 | (int) @constant.numeric.integer |
| 30 | (uint) @constant.numeric.integer |
| 31 | (float) @constant.numeric.float |
| 32 | |
| 33 | (string) @string |
| 34 | (bytes) @string.special |
| 35 | |
| 36 | (boolean) @constant.builtin.boolean |
| 37 | (null) @constant.builtin |
| 38 | |
| 39 | (condition_body |
| 40 | (identifier) @variable) |
| 41 | |
| 42 | (parenthesized_condition |
| 43 | (identifier) @variable) |
| 44 | |
| 45 | (bracket_condition |
| 46 | (identifier) @variable) |
| 47 | |
| 48 | (braced_condition |
| 49 | (identifier) @variable) |
| 50 | |
| 51 | (operator) @operator |
| 52 | (condition_operator) @operator |
| 53 | |
| 54 | (condition_body ["{" "}"] @punctuation.bracket) |
| 55 | (parenthesized_condition ["(" ")"] @punctuation.bracket) |
| 56 | (bracket_condition ["[" "]"] @punctuation.bracket) |
| 57 | (braced_condition ["{" "}"] @punctuation.bracket) |
| 58 | |
| 59 | (model) @keyword |
| 60 | (module "module" @keyword) |
| 61 | (schema "schema" @keyword) |
| 62 | (contents "contents" @keyword) |
| 63 | (relations "relations" @keyword) |
| 64 | (type_declaration "extend" @keyword) |
| 65 | (type_declaration "type" @keyword) |
| 66 | (definition "define" @keyword) |
| 67 | |
| 68 | (indirect_relation "from" @keyword.operator) |
| 69 | (conditional "with" @keyword.operator) |
| 70 | (condition_declaration "condition" @keyword.function) |
| 71 | |
| 72 | (comment) @comment |