rubyx/lib/ast/operator_expressions.rb
2014-07-16 22:36:24 +03:00

9 lines
242 B
Ruby

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