| 1 |
[ |
| 2 |
"[QueryStringParams]" |
| 3 |
"[Query]" |
| 4 |
"[FormParams]" |
| 5 |
"[Form]" |
| 6 |
"[MultipartFormData]" |
| 7 |
"[Multipart]" |
| 8 |
"[Cookies]" |
| 9 |
"[Captures]" |
| 10 |
"[Asserts]" |
| 11 |
"[Options]" |
| 12 |
"[BasicAuth]" |
| 13 |
] @attribute |
| 14 |
|
| 15 |
(comment) @comment |
| 16 |
|
| 17 |
[ |
| 18 |
(key_string) |
| 19 |
(json_key_string) |
| 20 |
] @variable.other.member |
| 21 |
|
| 22 |
(value_string) @string |
| 23 |
(quoted_string) @string |
| 24 |
(json_string) @string |
| 25 |
(file_value) @string.special.path |
| 26 |
(regex) @string.regexp |
| 27 |
|
| 28 |
[ |
| 29 |
"\\" |
| 30 |
(regex_escaped_char) |
| 31 |
(quoted_string_escaped_char) |
| 32 |
(key_string_escaped_char) |
| 33 |
(value_string_escaped_char) |
| 34 |
(oneline_string_escaped_char) |
| 35 |
(multiline_string_escaped_char) |
| 36 |
(filename_escaped_char) |
| 37 |
(json_string_escaped_char) |
| 38 |
] @constant.character.escape |
| 39 |
|
| 40 |
(method) @type.builtin |
| 41 |
(multiline_string_type) @type |
| 42 |
|
| 43 |
[ |
| 44 |
"status" |
| 45 |
"url" |
| 46 |
"header" |
| 47 |
"cookie" |
| 48 |
"body" |
| 49 |
"xpath" |
| 50 |
"jsonpath" |
| 51 |
"regex" |
| 52 |
"variable" |
| 53 |
"duration" |
| 54 |
"sha256" |
| 55 |
"md5" |
| 56 |
"bytes" |
| 57 |
"daysAfterNow" |
| 58 |
"daysBeforeNow" |
| 59 |
"htmlEscape" |
| 60 |
"htmlUnescape" |
| 61 |
"decode" |
| 62 |
"format" |
| 63 |
"nth" |
| 64 |
"replace" |
| 65 |
"split" |
| 66 |
"toDate" |
| 67 |
"toInt" |
| 68 |
"urlEncode" |
| 69 |
"urlDecode" |
| 70 |
"count" |
| 71 |
] @function.builtin |
| 72 |
|
| 73 |
(filter) @attribute |
| 74 |
|
| 75 |
(version) @string.special |
| 76 |
"null" @constant.builtin |
| 77 |
|
| 78 |
in |
| 79 |
|
| 80 |
so |
| 81 |
|
| 82 |
(_ option_key: _ @constant.builtin) |
| 83 |
|
| 84 |
(boolean) @constant.builtin.boolean |
| 85 |
|
| 86 |
(variable_name) @variable |
| 87 |
|
| 88 |
[ |
| 89 |
"not" |
| 90 |
"equals" |
| 91 |
"==" |
| 92 |
"notEquals" |
| 93 |
"!=" |
| 94 |
"greaterThan" |
| 95 |
">" |
| 96 |
"greaterThanOrEquals" |
| 97 |
">=" |
| 98 |
"lessThan" |
| 99 |
"<" |
| 100 |
"lessThanOrEquals" |
| 101 |
"<=" |
| 102 |
"startsWith" |
| 103 |
"endsWith" |
| 104 |
"contains" |
| 105 |
"matches" |
| 106 |
"exists" |
| 107 |
"includes" |
| 108 |
"isInteger" |
| 109 |
"isFloat" |
| 110 |
"isBoolean" |
| 111 |
"isString" |
| 112 |
"isCollection" |
| 113 |
"isNumber" |
| 114 |
"isIsoDate" |
| 115 |
"isEmpty" |
| 116 |
] @keyword.operator |
| 117 |
|
| 118 |
(integer) @constant.numeric.integer |
| 119 |
(float) @constant.numeric.float |
| 120 |
(status) @constant.numeric |
| 121 |
(json_number) @constant.numeric.float |
| 122 |
|
| 123 |
[ |
| 124 |
":" |
| 125 |
"," |
| 126 |
] @punctuation.delimiter |
| 127 |
|
| 128 |
[ |
| 129 |
"[" |
| 130 |
"]" |
| 131 |
"{" |
| 132 |
"}" |
| 133 |
"{{" |
| 134 |
"}}" |
| 135 |
] @punctuation.special |
| 136 |
|
| 137 |
[ |
| 138 |
"base64," |
| 139 |
"file," |
| 140 |
"hex," |
| 141 |
] @string.special |