rubyx/lib/compiler/operator_expressions.rb

8 lines
239 B
Ruby
Raw Normal View History

module Compiler
# operator attr_reader :operator, :left, :right
def self.compile_operator expression, method , message
call = CallSiteExpression.new( operator , [right] , left )
call.compile(method,message)
end
end