Skip to content

Commit

Permalink
convert: always create .args
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikvanantwerpen committed Jun 2, 2023
1 parent 843a7b1 commit d079d7e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,6 @@ inherit .parent_module
function: (_) @fn
arguments: (argument_list) @args) @call
{
node @args.args
attr (@args.args) is_exported

edge @call.output -> @call.output_args
edge @call.output_args -> @fn.output
attr (@call.output_args) push_scoped_symbol = "()", scope = @args.args
Expand Down Expand Up @@ -734,6 +731,11 @@ inherit .parent_module
edge arg_name -> @val.output
}

(argument_list) @args {
node @args.args
attr (@args.args) is_exported
}

(argument_list
(expression) @arg) @args
{
Expand Down

0 comments on commit d079d7e

Please sign in to comment.