Method: Ikra::AST::UntilNode#initialize

Defined in:
lib/ast/nodes.rb

#initialize(condition:, body_stmts:) ⇒ UntilNode

Returns a new instance of UntilNode.



505
506
507
508
509
510
511
# File 'lib/ast/nodes.rb', line 505

def initialize(condition:, body_stmts:)
    @condition = condition
    @body_stmts = body_stmts

    condition.parent = self
    body_stmts.parent = self
end