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

32 lines
540 B
Scheme

(arrow_function
(formal_parameters) @context.params
) @context
(function_declaration
(formal_parameters) @context.params
) @context
(function
(formal_parameters) @context.params
) @context
(generator_function_declaration
(formal_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)
(switch_statement)
(switch_case)
] @context