You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/runtime/queries/ecma/context.scm

30 lines
480 B
Scheme

(arrow_function
parameters: (_) @context.params
) @context
(function_declaration
parameters: (_) @context.params
) @context
(function
parameters: (_) @context.params
) @context
(expression_statement
parameters: (_) @context.params
) @context
[
(call_expression)
(class_declaration)
(else_clause)
(for_statement)
; (interface_declaration) ; not usable in javascript
(lexical_declaration)
(method_definition)
(object)
(pair)
(while_statement)
] @context