2017-04-01 21:28:57 +03:00
|
|
|
module Vool
|
|
|
|
class Statements < Statement
|
2017-09-06 12:33:46 +03:00
|
|
|
include Common::Statements
|
2017-04-12 11:52:23 +03:00
|
|
|
|
|
|
|
# create machine instructions
|
|
|
|
def to_mom( method )
|
2017-09-06 12:51:24 +03:00
|
|
|
all = @statements.collect { |statement| statement.to_mom( method ) }
|
2017-09-06 12:33:46 +03:00
|
|
|
Mom::Statements.new(all)
|
2017-04-08 12:10:42 +03:00
|
|
|
end
|
2017-04-09 10:14:28 +03:00
|
|
|
|
|
|
|
def create_objects
|
|
|
|
@statements.each{ |s| s.create_objects }
|
|
|
|
end
|
2018-03-10 19:01:38 +05:30
|
|
|
|
2017-04-02 13:24:09 +03:00
|
|
|
end
|
|
|
|
|
|
|
|
class ScopeStatement < Statements
|
2017-04-01 21:28:57 +03:00
|
|
|
end
|
|
|
|
end
|