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