Class: MilkTea::IR::StringLiteral

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

Instance Attribute Summary collapse

Instance Attribute Details

#cstringObject (readonly)

Returns the value of attribute cstring

Returns:

  • (Object)

    the current value of cstring



70
71
72
# File 'lib/milk_tea/core/ir.rb', line 70

def cstring
  @cstring
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



70
71
72
# File 'lib/milk_tea/core/ir.rb', line 70

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



70
71
72
# File 'lib/milk_tea/core/ir.rb', line 70

def value
  @value
end