introduce statement class for mom

This commit is contained in:
Torsten Ruger
2017-09-06 12:11:30 +03:00
parent 0e98179888
commit 0e51492430
3 changed files with 10 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
module Mom
class IfStatement < Instruction
class IfStatement < Statement
attr_reader :condition , :if_true , :if_false
attr_accessor :hoisted