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



71
72
73
# File 'lib/milk_tea/core/compile_time.rb', line 71

def arm
  @arm
end

#fieldsObject (readonly)

Returns the value of attribute fields

Returns:

  • (Object)

    the current value of fields



71
72
73
# File 'lib/milk_tea/core/compile_time.rb', line 71

def fields
  @fields
end