rubyx/lib/ruby/block_statement.rb
Torsten Ruger 61225c2f20 ifx most of the conversion
well . . it's still converting to ruby, minor detail
2018-07-19 14:59:10 +03:00

18 lines
329 B
Ruby

module Vool
class BlockStatement < Statement
attr_reader :args , :body , :clazz
def initialize( args , body , something_really_else)
@args , @body = args , body
raise "no bod" unless @body
@clazz = clazz
end
def to_vool
BlockStatement.new( @args , @body.normalize)
end
end
end