class SyntaxTree::Parser

def on_method_add_arg(call, arguments)

Experimental RBS support (using type sampling data from the type_fusion project).

def on_method_add_arg: (SyntaxTree::CallNode call, (SyntaxTree::ArgParen | SyntaxTree::Args) arguments) -> untyped

This signature was generated using 7 samples from 1 application.

) -> CallNode
(ArgParen | Args) arguments
CallNode call,
on_method_add_arg: (
:call-seq:
def on_method_add_arg(call, arguments)
  location = call.location
  location = location.to(arguments.location) if arguments.is_a?(ArgParen)
  CallNode.new(
    receiver: call.receiver,
    operator: call.operator,
    message: call.message,
    arguments: arguments,
    location: location
  )
end