rubyx/lib/ast/operator_expressions.rb
2014-07-25 10:49:34 +03:00

9 lines
244 B
Ruby

module Ast
class OperatorExpression < Expression
# attr_reader :operator, :left, :right
def compile method , message
call = CallSiteExpression.new( operator , [right] , left )
call.compile(method,message)
end
end
end