Class: MilkTea::IR::OpaqueDecl
- Inherits:
-
Data
- Object
- Data
- MilkTea::IR::OpaqueDecl
- Defined in:
- lib/milk_tea/core/ir.rb
Instance Attribute Summary collapse
-
#forward_declarable ⇒ Object
readonly
Returns the value of attribute forward_declarable.
-
#linkage_name ⇒ Object
readonly
Returns the value of attribute linkage_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#source_module ⇒ Object
readonly
Returns the value of attribute source_module.
Instance Method Summary collapse
-
#initialize(name:, linkage_name:, forward_declarable:, source_module: nil) ⇒ OpaqueDecl
constructor
A new instance of OpaqueDecl.
Constructor Details
#initialize(name:, linkage_name:, forward_declarable:, source_module: nil) ⇒ OpaqueDecl
Returns a new instance of OpaqueDecl.
14 |
# File 'lib/milk_tea/core/ir.rb', line 14 def initialize(name:, linkage_name:, forward_declarable:, source_module: nil) = super |
Instance Attribute Details
#forward_declarable ⇒ Object (readonly)
Returns the value of attribute forward_declarable
13 14 15 |
# File 'lib/milk_tea/core/ir.rb', line 13 def forward_declarable @forward_declarable end |
#linkage_name ⇒ Object (readonly)
Returns the value of attribute linkage_name
13 14 15 |
# File 'lib/milk_tea/core/ir.rb', line 13 def linkage_name @linkage_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name
13 14 15 |
# File 'lib/milk_tea/core/ir.rb', line 13 def name @name end |
#source_module ⇒ Object (readonly)
Returns the value of attribute source_module
13 14 15 |
# File 'lib/milk_tea/core/ir.rb', line 13 def source_module @source_module end |