| 1 | ((program |
| 2 | . |
| 3 | (comment)* |
| 4 | . |
| 5 | (comment) @keyword.import) |
| 6 | (#match? @keyword.import "^;+ *inherits *:")) |
| 7 | |
| 8 | ((parameters |
| 9 | (identifier) @constant.numeric) |
| 10 | (#match? @constant.numeric "^[-+]?[0-9]+(.[0-9]+)?$")) |
| 11 | |
| 12 | "_" @constant |
| 13 | |
| 14 | ":" @punctuation.delimiter |
| 15 | |
| 16 | [ |
| 17 | "[" |
| 18 | "]" |
| 19 | "(" |
| 20 | ")" |
| 21 | ] @punctuation.bracket |
| 22 | |
| 23 | "." @operator |
| 24 | |
| 25 | (quantifier) @operator |
| 26 | |
| 27 | (comment) @comment |
| 28 | |
| 29 | (negated_field |
| 30 | "!" @operator |
| 31 | (identifier) @variable.other.member) |
| 32 | |
| 33 | (field_definition |
| 34 | name: (identifier) @variable.other.member) |
| 35 | |
| 36 | (named_node |
| 37 | name: (identifier) @tag) |
| 38 | |
| 39 | (predicate name: (identifier) @error) |
| 40 | ((predicate |
| 41 | "#" @function.builtin |
| 42 | name: (identifier) @function.builtin @_name |
| 43 | type: (predicate_type) @function.builtin) |
| 44 | (#any-of? @_name "eq" "not-eq" "match" "not-match" "any-of" "not-any-of" "is" "is-not" "not-same-line" "not-kind-eq" "set" "select-adjacent" "strip")) |
| 45 | |
| 46 | (capture) @label |
| 47 | |
| 48 | (escape_sequence) @constant.character.escape |
| 49 | |
| 50 | (string) @string |