Class: MilkTea::IR::Binary

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

Instance Attribute Summary collapse

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



62
63
64
# File 'lib/milk_tea/core/ir.rb', line 62

def left
  @left
end

#operatorObject (readonly)

Returns the value of attribute operator

Returns:

  • (Object)

    the current value of operator



62
63
64
# File 'lib/milk_tea/core/ir.rb', line 62

def operator
  @operator
end

#rightObject (readonly)

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



62
63
64
# File 'lib/milk_tea/core/ir.rb', line 62

def right
  @right
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



62
63
64
# File 'lib/milk_tea/core/ir.rb', line 62

def type
  @type
end