rubyx/lib/compiler/expression_list.rb
Torsten Ruger ff22c17784 move ast to compiler
new compile module does just that: compile
Dispatch with visitor pattern
no more patching into ast
2015-05-04 14:22:22 +03:00

7 lines
196 B
Ruby

module Compiler
# list - attr_reader :expressions
def compile_list expession , method , message
expession.expressions.collect { |part| part.compile( method, message ) }
end
end