class Prism::IfNode
def initialize(if_keyword_loc, predicate, then_keyword_loc, statements, consequent, end_keyword_loc, location)
Experimental RBS support (using type sampling data from the type_fusion project).
def initialize: (Prism::Location if_keyword_loc, (Prism::OrNode | Prism::CallNode | Prism::LocalVariableReadNode) predicate, nil then_keyword_loc, Prism::StatementsNode statements, nil consequent, Prism::Location? end_keyword_loc, Prism::Location location) -> void
This signature was generated using 7 samples from 1 application.
def initialize(if_keyword_loc, predicate, then_keyword_loc, statements, consequent, end_keyword_loc, location) @newline = false @if_keyword_loc = if_keyword_loc @predicate = predicate @then_keyword_loc = then_keyword_loc @statements = statements @consequent = consequent @end_keyword_loc = end_keyword_loc @location = location end