class YARP::IfNode
def initialize(if_keyword_loc, predicate, statements, consequent, end_keyword_loc, location)
Experimental RBS support (using type sampling data from the type_fusion
project).
type YARP__IfNode_initialize_predicate = YARP::CallNode | YARP::LocalVariableReadNode | YARP::AndNode | YARP::LocalVariableWriteNode | YARP::InstanceVariableReadNode | YARP::OrNode def initialize: (YARP::Location? if_keyword_loc, YARP__IfNode_initialize_predicate predicate, YARP::StatementsNode statements, YARP::ElseNode? consequent, YARP::Location? end_keyword_loc, YARP::Location location) -> void
This signature was generated using 33 samples from 1 application.
def initialize(if_keyword_loc, predicate, statements, consequent, end_keyword_loc, location) @if_keyword_loc = if_keyword_loc @predicate = predicate @statements = statements @consequent = consequent @end_keyword_loc = end_keyword_loc @location = location end