9 lines
242 B
Ruby
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 |