Class: MilkTea::AST::BinaryOp

Inherits:
Data
  • Object
show all
Defined in:
lib/milk_tea/core/ast.rb

Instance Attribute Summary collapse

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



226
227
228
# File 'lib/milk_tea/core/ast.rb', line 226

def left
  @left
end

#operatorObject (readonly)

Returns the value of attribute operator

Returns:

  • (Object)

    the current value of operator



226
227
228
# File 'lib/milk_tea/core/ast.rb', line 226

def operator
  @operator
end

#rightObject (readonly)

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



226
227
228
# File 'lib/milk_tea/core/ast.rb', line 226

def right
  @right
end