class YARP::DefNode

def initialize(name_loc, receiver, parameters, statements, locals, def_keyword_loc, operator_loc, lparen_loc, rparen_loc, equal_loc, end_keyword_loc, location)

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

def initialize: (YARP::Location name_loc, nil receiver, YARP::ParametersNode? parameters, YARP::StatementsNode statements, (Array[Symbol] | Array[]) locals, YARP::Location def_keyword_loc, nil operator_loc, YARP::Location? lparen_loc, YARP::Location? rparen_loc, nil equal_loc, YARP::Location end_keyword_loc, YARP::Location location) -> void

This signature was generated using 12 samples from 1 application.

def initialize: (name_loc: Location, receiver: Node?, parameters: Node?, statements: Node?, locals: Array[Symbol], def_keyword_loc: Location, operator_loc: Location?, lparen_loc: Location?, rparen_loc: Location?, equal_loc: Location?, end_keyword_loc: Location?, location: Location) -> void
def initialize(name_loc, receiver, parameters, statements, locals, def_keyword_loc, operator_loc, lparen_loc, rparen_loc, equal_loc, end_keyword_loc, location)
  @name_loc = name_loc
  @receiver = receiver
  @parameters = parameters
  @statements = statements
  @locals = locals
  @def_keyword_loc = def_keyword_loc
  @operator_loc = operator_loc
  @lparen_loc = lparen_loc
  @rparen_loc = rparen_loc
  @equal_loc = equal_loc
  @end_keyword_loc = end_keyword_loc
  @location = location
end