| 1 |
(comment) @comment |
| 2 |
|
| 3 |
(ui_import |
| 4 |
source: _ @namespace |
| 5 |
version: _? @constant |
| 6 |
alias: _? @namespace) |
| 7 |
|
| 8 |
(ui_pragma |
| 9 |
name: (identifier) @attribute |
| 10 |
value: (identifier)? @constant) |
| 11 |
|
| 12 |
(ui_annotation |
| 13 |
"@" @punctuation |
| 14 |
type_name: _ @type) |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
(enum_declaration |
| 19 |
name: (identifier) @type) |
| 20 |
|
| 21 |
(enum_assignment |
| 22 |
name: (identifier) @constant |
| 23 |
value: _ @constant) |
| 24 |
|
| 25 |
(enum_body |
| 26 |
name: (identifier) @constant) |
| 27 |
|
| 28 |
(ui_inline_component |
| 29 |
name: (identifier) @type) |
| 30 |
|
| 31 |
(ui_object_definition |
| 32 |
type_name: _ @type) |
| 33 |
|
| 34 |
(ui_object_definition_binding |
| 35 |
type_name: _ @type |
| 36 |
name: _ @variable.other.member) |
| 37 |
|
| 38 |
(ui_property |
| 39 |
type: _ @type |
| 40 |
name: (identifier) @variable.other.member) |
| 41 |
|
| 42 |
(ui_signal |
| 43 |
name: (identifier) @function) |
| 44 |
|
| 45 |
(ui_signal_parameter |
| 46 |
name: (identifier) @variable.parameter |
| 47 |
type: _ @type) |
| 48 |
|
| 49 |
(ui_signal_parameter |
| 50 |
type: _ @type |
| 51 |
name: (identifier) @variable.parameter) |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
(ui_binding |
| 56 |
name: _ @variable.other.member) |
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
[ |
| 61 |
"(" |
| 62 |
")" |
| 63 |
"{" |
| 64 |
"}" |
| 65 |
] @punctuation.bracket |
| 66 |
|
| 67 |
(ui_list_property_type [ |
| 68 |
"<" |
| 69 |
">" |
| 70 |
] @punctuation.bracket) |
| 71 |
|
| 72 |
[ |
| 73 |
"," |
| 74 |
"." |
| 75 |
":" |
| 76 |
] @punctuation.delimiter |
| 77 |
|
| 78 |
[ |
| 79 |
"as" |
| 80 |
"component" |
| 81 |
"default" |
| 82 |
"enum" |
| 83 |
"import" |
| 84 |
"on" |
| 85 |
"pragma" |
| 86 |
"property" |
| 87 |
"readonly" |
| 88 |
"required" |
| 89 |
"signal" |
| 90 |
] @keyword |