rubyx/lib/ast/operator_expressions.rb

9 lines
240 B
Ruby

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