Class: MilkTea::IR::ForStmt

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

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



40
41
42
# File 'lib/milk_tea/core/ir.rb', line 40

def body
  @body
end

#conditionObject (readonly)

Returns the value of attribute condition

Returns:

  • (Object)

    the current value of condition



40
41
42
# File 'lib/milk_tea/core/ir.rb', line 40

def condition
  @condition
end

#initObject (readonly)

Returns the value of attribute init

Returns:

  • (Object)

    the current value of init



40
41
42
# File 'lib/milk_tea/core/ir.rb', line 40

def init
  @init
end

#postObject (readonly)

Returns the value of attribute post

Returns:

  • (Object)

    the current value of post



40
41
42
# File 'lib/milk_tea/core/ir.rb', line 40

def post
  @post
end