Class: MilkTea::IR::IfStmt

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



33
34
35
# File 'lib/milk_tea/core/ir.rb', line 33

def condition
  @condition
end

#else_bodyObject (readonly)

Returns the value of attribute else_body

Returns:

  • (Object)

    the current value of else_body



33
34
35
# File 'lib/milk_tea/core/ir.rb', line 33

def else_body
  @else_body
end

#then_bodyObject (readonly)

Returns the value of attribute then_body

Returns:

  • (Object)

    the current value of then_body



33
34
35
# File 'lib/milk_tea/core/ir.rb', line 33

def then_body
  @then_body
end