af85cb7c67
much like the if, difference will show later in the jump arrangement
15 lines
232 B
Ruby
15 lines
232 B
Ruby
|
|
module Mom
|
|
class WhileStatement < Instruction
|
|
attr_reader :condition , :statements
|
|
|
|
attr_accessor :hoisted
|
|
|
|
def initialize( cond , statements)
|
|
@condition = cond
|
|
@statements = statements
|
|
end
|
|
end
|
|
|
|
end
|