Class: MilkTea::IR::Cast

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

Instance Attribute Summary collapse

Instance Attribute Details

#expressionObject (readonly)

Returns the value of attribute expression

Returns:

  • (Object)

    the current value of expression



75
76
77
# File 'lib/milk_tea/core/ir.rb', line 75

def expression
  @expression
end

#target_typeObject (readonly)

Returns the value of attribute target_type

Returns:

  • (Object)

    the current value of target_type



75
76
77
# File 'lib/milk_tea/core/ir.rb', line 75

def target_type
  @target_type
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



75
76
77
# File 'lib/milk_tea/core/ir.rb', line 75

def type
  @type
end