rubyx/lib/ast/operator_expressions.rb

9 lines
244 B
Ruby
Raw Normal View History

module Ast
class OperatorExpression < Expression
# attr_reader :operator, :left, :right
2014-07-25 10:49:34 +03:00
def compile method , message
2014-07-15 10:35:29 +03:00
call = CallSiteExpression.new( operator , [right] , left )
2014-07-25 10:49:34 +03:00
call.compile(method,message)
2014-07-14 16:19:47 +03:00
end
end
end