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



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

def condition
  @condition
end

#else_expressionObject (readonly)

Returns the value of attribute else_expression

Returns:

  • (Object)

    the current value of else_expression



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

def else_expression
  @else_expression
end

#then_expressionObject (readonly)

Returns the value of attribute then_expression

Returns:

  • (Object)

    the current value of then_expression



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

def then_expression
  @then_expression
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end