|  | 
| 7 | 7 |     parameters: (formal_parameters) @codeium.parameters | 
| 8 | 8 |     return_type: ([ | 
| 9 | 9 |       (type_annotation (_) @codeium.return_type) | 
| 10 |  | -      (asserts (_) @codeium.return_type) | 
|  | 10 | +      (asserts_annotation (_) @codeium.return_type) | 
| 11 | 11 |       (type_predicate_annotation (_) @codeium.return_type) | 
| 12 | 12 |     ])? | 
| 13 | 13 |     body: (_)? @body) @definition.method | 
|  | 
| 25 | 25 |     parameters: (formal_parameters) @codeium.parameters | 
| 26 | 26 |     return_type: ([ | 
| 27 | 27 |       (type_annotation (_) @codeium.return_type) | 
| 28 |  | -      (asserts (_) @codeium.return_type) | 
|  | 28 | +      (asserts_annotation (_) @codeium.return_type) | 
| 29 | 29 |       (type_predicate_annotation (_) @codeium.return_type) | 
| 30 | 30 |     ])? | 
| 31 | 31 |     body: (_)? @body) @definition.function | 
|  | 
| 42 | 42 |       parameters: (formal_parameters) @codeium.parameters | 
| 43 | 43 |       return_type: ([ | 
| 44 | 44 |       (type_annotation (_) @codeium.return_type) | 
| 45 |  | -      (asserts (_) @codeium.return_type) | 
|  | 45 | +      (asserts_annotation (_) @codeium.return_type) | 
| 46 | 46 |       (type_predicate_annotation (_) @codeium.return_type) | 
| 47 | 47 |     ])? | 
| 48 | 48 |     body: (_)? @body) @_) @definition.function | 
|  | 
| 63 | 63 |           parameters: (formal_parameters) @codeium.parameters | 
| 64 | 64 |           return_type: ([ | 
| 65 | 65 |             (type_annotation (_) @codeium.return_type) | 
| 66 |  | -            (asserts (_) @codeium.return_type) | 
|  | 66 | +            (asserts_annotation (_) @codeium.return_type) | 
| 67 | 67 |             (type_predicate_annotation (_) @codeium.return_type) | 
| 68 | 68 |           ])? | 
| 69 | 69 |           body: (_)? @body) | 
| 70 |  | -        (function | 
|  | 70 | +        (function_expression | 
| 71 | 71 |           parameters: (formal_parameters) @codeium.parameters | 
| 72 | 72 |           return_type: ([ | 
| 73 | 73 |             (type_annotation (_) @codeium.return_type) | 
| 74 |  | -            (asserts (_) @codeium.return_type) | 
|  | 74 | +            (asserts_annotation (_) @codeium.return_type) | 
| 75 | 75 |             (type_predicate_annotation (_) @codeium.return_type) | 
| 76 | 76 |           ])? | 
| 77 | 77 |           body: (_)? @body) | 
|  | 
| 92 | 92 |             parameters: (formal_parameters) @codeium.parameters | 
| 93 | 93 |             return_type: ([ | 
| 94 | 94 |               (type_annotation (_) @codeium.return_type) | 
| 95 |  | -              (asserts (_) @codeium.return_type) | 
|  | 95 | +              (asserts_annotation (_) @codeium.return_type) | 
| 96 | 96 |               (type_predicate_annotation (_) @codeium.return_type) | 
| 97 | 97 |             ])? | 
| 98 | 98 |             body: (_)? @body) | 
| 99 |  | -          (function | 
|  | 99 | +          (function_expression | 
| 100 | 100 |             parameters: (formal_parameters) @codeium.parameters | 
| 101 | 101 |             return_type: ([ | 
| 102 | 102 |               (type_annotation (_) @codeium.return_type) | 
| 103 |  | -              (asserts (_) @codeium.return_type) | 
|  | 103 | +              (asserts_annotation (_) @codeium.return_type) | 
| 104 | 104 |               (type_predicate_annotation (_) @codeium.return_type) | 
| 105 | 105 |             ])? | 
| 106 | 106 |             body: (_)? @body) | 
|  | 
| 126 | 126 |           parameters: (formal_parameters) @codeium.parameters | 
| 127 | 127 |           return_type: ([ | 
| 128 | 128 |             (type_annotation (_) @codeium.return_type) | 
| 129 |  | -            (asserts (_) @codeium.return_type) | 
|  | 129 | +            (asserts_annotation (_) @codeium.return_type) | 
| 130 | 130 |             (type_predicate_annotation (_) @codeium.return_type) | 
| 131 | 131 |           ])? | 
| 132 | 132 |           body: (_)? @body) | 
| 133 |  | -        (function | 
|  | 133 | +        (function_expression | 
| 134 | 134 |           parameters: (formal_parameters) @codeium.parameters | 
| 135 | 135 |           return_type: ([ | 
| 136 | 136 |             (type_annotation (_) @codeium.return_type) | 
| 137 |  | -            (asserts (_) @codeium.return_type) | 
|  | 137 | +            (asserts_annotation (_) @codeium.return_type) | 
| 138 | 138 |             (type_predicate_annotation (_) @codeium.return_type) | 
| 139 | 139 |           ])? | 
| 140 | 140 |           body: (_)? @body) | 
|  | 
| 154 | 154 |         parameters: (formal_parameters) @codeium.parameters | 
| 155 | 155 |         return_type: ([ | 
| 156 | 156 |           (type_annotation (_) @codeium.return_type) | 
| 157 |  | -          (asserts (_) @codeium.return_type) | 
|  | 157 | +          (asserts_annotation (_) @codeium.return_type) | 
| 158 | 158 |           (type_predicate_annotation (_) @codeium.return_type) | 
| 159 | 159 |         ])? | 
| 160 | 160 |         body: (_)? @body) | 
| 161 |  | -      (function | 
|  | 161 | +      (function_expression | 
| 162 | 162 |         parameters: (formal_parameters) @codeium.parameters | 
| 163 | 163 |         return_type: ([ | 
| 164 | 164 |           (type_annotation (_) @codeium.return_type) | 
| 165 |  | -          (asserts (_) @codeium.return_type) | 
|  | 165 | +          (asserts_annotation (_) @codeium.return_type) | 
| 166 | 166 |           (type_predicate_annotation (_) @codeium.return_type) | 
| 167 | 167 |         ])? | 
| 168 | 168 |         body: (_)? @body) | 
|  | 
| 181 | 181 |       parameters: (formal_parameters) @codeium.parameters | 
| 182 | 182 |       return_type: ([ | 
| 183 | 183 |         (type_annotation (_) @codeium.return_type) | 
| 184 |  | -        (asserts (_) @codeium.return_type) | 
|  | 184 | +        (asserts_annotation (_) @codeium.return_type) | 
| 185 | 185 |         (type_predicate_annotation (_) @codeium.return_type) | 
| 186 | 186 |       ])? | 
| 187 | 187 |       body: (_)? @body)) @definition.function | 
|  | 
| 198 | 198 |         parameters: (formal_parameters) @codeium.parameters | 
| 199 | 199 |         return_type: ([ | 
| 200 | 200 |           (type_annotation (_) @codeium.return_type) | 
| 201 |  | -          (asserts (_) @codeium.return_type) | 
|  | 201 | +          (asserts_annotation (_) @codeium.return_type) | 
| 202 | 202 |           (type_predicate_annotation (_) @codeium.return_type) | 
| 203 | 203 |         ])? | 
| 204 | 204 |         body: (_)? @body))) @definition.function | 
|  | 
0 commit comments