reuse previous query
(call (identifier) @keyword
[(qualified_call
name: (identifier) @function)
+ (identifier) @function
(binary_op
left:
[(qualified_call
operator: "when")]
(#match? @keyword "^(defp|def|defmacro|defguard|defdelegate)$"))
-(call (identifier) @keyword
- (identifier) @function
- (#match? @keyword "^(defp|def|defmacro|defguard|defdelegate)$"))
-
(anonymous_function
(stab_expression
left: (bare_arguments
