| 1 | [ |
| 2 | "if" |
| 3 | "elseif" |
| 4 | "else" |
| 5 | "switch" |
| 6 | ] @keyword.control.conditional |
| 7 | |
| 8 | [ |
| 9 | "foreach" |
| 10 | "for" |
| 11 | "while" |
| 12 | "do" |
| 13 | "until" |
| 14 | ] @keyword.control.repeat |
| 15 | |
| 16 | [ |
| 17 | "break" |
| 18 | "continue" |
| 19 | "return" |
| 20 | ] @keyword.control.return |
| 21 | |
| 22 | "in" @keyword.operator |
| 23 | |
| 24 | "function" @keyword.function |
| 25 | |
| 26 | [ |
| 27 | "class" |
| 28 | "enum" |
| 29 | ] @keyword.storage.type |
| 30 | |
| 31 | [ |
| 32 | "param" |
| 33 | "dynamicparam" |
| 34 | "begin" |
| 35 | "process" |
| 36 | "end" |
| 37 | "filter" |
| 38 | "workflow" |
| 39 | "throw" |
| 40 | "exit" |
| 41 | "trap" |
| 42 | "try" |
| 43 | "catch" |
| 44 | "finally" |
| 45 | "data" |
| 46 | "inlinescript" |
| 47 | "parallel" |
| 48 | "sequence" |
| 49 | ] @keyword |
| 50 | |
| 51 | [ |
| 52 | "-as" |
| 53 | "-ccontains" |
| 54 | "-ceq" |
| 55 | "-cge" |
| 56 | "-cgt" |
| 57 | "-cle" |
| 58 | "-clike" |
| 59 | "-clt" |
| 60 | "-cmatch" |
| 61 | "-cne" |
| 62 | "-cnotcontains" |
| 63 | "-cnotlike" |
| 64 | "-cnotmatch" |
| 65 | "-contains" |
| 66 | "-creplace" |
| 67 | "-csplit" |
| 68 | "-eq" |
| 69 | "-ge" |
| 70 | "-gt" |
| 71 | "-icontains" |
| 72 | "-ieq" |
| 73 | "-ige" |
| 74 | "-igt" |
| 75 | "-ile" |
| 76 | "-ilike" |
| 77 | "-ilt" |
| 78 | "-imatch" |
| 79 | "-in" |
| 80 | "-ine" |
| 81 | "-inotcontains" |
| 82 | "-inotlike" |
| 83 | "-inotmatch" |
| 84 | "-ireplace" |
| 85 | "-is" |
| 86 | "-isnot" |
| 87 | "-isplit" |
| 88 | "-join" |
| 89 | "-le" |
| 90 | "-like" |
| 91 | "-lt" |
| 92 | "-match" |
| 93 | "-ne" |
| 94 | "-not" |
| 95 | "-notcontains" |
| 96 | "-notin" |
| 97 | "-notlike" |
| 98 | "-notmatch" |
| 99 | "-replace" |
| 100 | "-shl" |
| 101 | "-shr" |
| 102 | "-split" |
| 103 | "-and" |
| 104 | "-or" |
| 105 | "-xor" |
| 106 | "-band" |
| 107 | "-bor" |
| 108 | "-bxor" |
| 109 | "+" |
| 110 | "-" |
| 111 | "*" |
| 112 | "/" |
| 113 | "%" |
| 114 | "++" |
| 115 | "--" |
| 116 | "!" |
| 117 | "\\" |
| 118 | ".." |
| 119 | "|" |
| 120 | ] @operator |
| 121 | |
| 122 | (assignement_operator) @operator |
| 123 | |
| 124 | [ |
| 125 | "(" |
| 126 | ")" |
| 127 | "{" |
| 128 | "}" |
| 129 | "[" |
| 130 | "]" |
| 131 | ] @punctuation.bracket |
| 132 | |
| 133 | [ |
| 134 | ";" |
| 135 | "," |
| 136 | "::" |
| 137 | ] @punctuation.delimiter |
| 138 | |
| 139 | (string_literal) @string |
| 140 | |
| 141 | (integer_literal) @constant.numeric |
| 142 | (real_literal) @constant.numeric |
| 143 | |
| 144 | (command |
| 145 | command_name: (command_name) @function) |
| 146 | |
| 147 | (function_name) @function |
| 148 | |
| 149 | (invokation_expression |
| 150 | (member_name) @function) |
| 151 | |
| 152 | (member_access |
| 153 | (member_name) @variable.other.member) |
| 154 | |
| 155 | (command_invokation_operator) @operator |
| 156 | |
| 157 | (type_spec) @type |
| 158 | |
| 159 | (variable) @variable |
| 160 | |
| 161 | (comment) @comment |
| 162 | |
| 163 | (array_expression) @punctuation.bracket |
| 164 | |
| 165 | (assignment_expression |
| 166 | value: (pipeline) @variable) |
| 167 | |
| 168 | (format_operator) @operator |
| 169 | |
| 170 | (command_parameter) @variable.parameter |
| 171 | |
| 172 | (command_elements) @variable.builtin |
| 173 | |
| 174 | (generic_token) @variable |