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::AndNode | YARP::LocalVariableReadNode | YARP::DefinedNode | YARP::InstanceVariableReadNode | YARP::LocalVariableWriteNode | YARP::GlobalVariableReadNode | YARP::OrNode

def initialize: (YARP::Location? if_keyword_loc, YARP__IfNode_initialize_predicate predicate, YARP::StatementsNode statements, (YARP::ElseNode | nil | YARP::IfNode) consequent, YARP::Location? end_keyword_loc, YARP::Location location) -> void

This signature was generated using 120 samples from 1 application.

def initialize: (if_keyword_loc: Location?, predicate: Node, statements: Node?, consequent: Node?, end_keyword_loc: Location?, location: Location) -> void
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