| 1 | [ |
| 2 | (jinja2_expression) |
| 3 | (jinja2_statement) |
| 4 | (jinja2_comment) |
| 5 | (jinja2_shebang) |
| 6 | ] @special |
| 7 | |
| 8 | (include_statement |
| 9 | directive: _ @keyword.directive |
| 10 | path: _ @string.special.path) |
| 11 | |
| 12 | (comment) @comment.line |
| 13 | |
| 14 | (graph_section |
| 15 | name: _? @label) |
| 16 | |
| 17 | (task_section |
| 18 | name: (_ |
| 19 | (task_name) @namespace)) |
| 20 | |
| 21 | (top_section |
| 22 | brackets_open: _ @punctuation.bracket |
| 23 | name: _? @label |
| 24 | brackets_close: _ @punctuation.bracket) |
| 25 | |
| 26 | (sub_section_1 |
| 27 | brackets_open: _ @punctuation.bracket |
| 28 | name: _? @label |
| 29 | brackets_close: _ @punctuation.bracket) |
| 30 | |
| 31 | (sub_section_2 |
| 32 | brackets_open: _ @punctuation.bracket |
| 33 | name: _? @label |
| 34 | brackets_close: _ @punctuation.bracket) |
| 35 | |
| 36 | (runtime_section |
| 37 | brackets_open: _ @punctuation.bracket |
| 38 | name: _? @label |
| 39 | brackets_close: _ @punctuation.bracket) |
| 40 | |
| 41 | (graph_setting |
| 42 | key: (_) @constant.numeric.integer |
| 43 | operator: (_)? @operator) |
| 44 | |
| 45 | (quoted_graph_string |
| 46 | quotes_open: _ @string |
| 47 | quotes_close: _ @string) |
| 48 | |
| 49 | (multiline_graph_string |
| 50 | quotes_open: _ @string |
| 51 | quotes_close: _ @string) |
| 52 | |
| 53 | [ |
| 54 | (graph_logical) |
| 55 | (graph_arrow) |
| 56 | (graph_parenthesis) |
| 57 | ] @operator |
| 58 | |
| 59 | (intercycle_annotation |
| 60 | (recurrence) @constant.numeric.integer) |
| 61 | |
| 62 | (graph_task |
| 63 | xtrigger: _? @operator |
| 64 | suicide: _? @operator |
| 65 | name: _ @namespace) |
| 66 | |
| 67 | (task_parameter |
| 68 | "<" @tag |
| 69 | name: (_)? @special |
| 70 | ","? @tag |
| 71 | "="? @tag |
| 72 | selection: (_)? @special |
| 73 | ">" @tag) |
| 74 | |
| 75 | (intercycle_annotation |
| 76 | "[" @tag |
| 77 | (recurrence)? @constant.numeric.integer |
| 78 | "]" @tag) |
| 79 | |
| 80 | (task_output |
| 81 | ":" @tag |
| 82 | (nametag) @variable.other) |
| 83 | |
| 84 | (task_output |
| 85 | "?"? @tag) |
| 86 | |
| 87 | (setting |
| 88 | key: (key) @variable |
| 89 | operator: (_)? @operator |
| 90 | value: [ |
| 91 | (unquoted_string) @string |
| 92 | (quoted_string) @string |
| 93 | (multiline_string) @string |
| 94 | (boolean) @constant.builtin.boolean |
| 95 | (integer) @constant.numeric.integer |
| 96 | ]?) |
| 97 | |
| 98 | (datetime) @constant.numeric.float |