Class: MilkTea::CompileTime::VariantValue

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

Overview

Const-time variant values; fields mirror the runtime arm payload layout.

Instance Attribute Summary collapse

Instance Attribute Details

#armObject (readonly)

Returns the value of attribute arm

Returns:

  • (Object)

    the current value of arm



55
56
57
# File 'lib/milk_tea/core/compile_time.rb', line 55

def arm
  @arm
end

#fieldsObject (readonly)

Returns the value of attribute fields

Returns:

  • (Object)

    the current value of fields



55
56
57
# File 'lib/milk_tea/core/compile_time.rb', line 55

def fields
  @fields
end