Class: MilkTea::IR::VariantLiteral

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

Instance Attribute Summary collapse

Instance Attribute Details

#arm_nameObject (readonly)

Returns the value of attribute arm_name

Returns:

  • (Object)

    the current value of arm_name



83
84
85
# File 'lib/milk_tea/core/ir.rb', line 83

def arm_name
  @arm_name
end

#fieldsObject (readonly)

Returns the value of attribute fields

Returns:

  • (Object)

    the current value of fields



83
84
85
# File 'lib/milk_tea/core/ir.rb', line 83

def fields
  @fields
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



83
84
85
# File 'lib/milk_tea/core/ir.rb', line 83

def type
  @type
end