Class: MilkTea::IR::Conditional

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

Instance Attribute Summary collapse

Instance Attribute Details

#conditionObject (readonly)

Returns the value of attribute condition

Returns:

  • (Object)

    the current value of condition



65
66
67
# File 'lib/milk_tea/core/ir.rb', line 65

def condition
  @condition
end

#else_expressionObject (readonly)

Returns the value of attribute else_expression

Returns:

  • (Object)

    the current value of else_expression



65
66
67
# File 'lib/milk_tea/core/ir.rb', line 65

def else_expression
  @else_expression
end

#then_expressionObject (readonly)

Returns the value of attribute then_expression

Returns:

  • (Object)

    the current value of then_expression



65
66
67
# File 'lib/milk_tea/core/ir.rb', line 65

def then_expression
  @then_expression
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



65
66
67
# File 'lib/milk_tea/core/ir.rb', line 65

def type
  @type
end