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.
12 |
# File 'lib/milk_tea/core/ir.rb', line 12 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
11 12 13 |
# File 'lib/milk_tea/core/ir.rb', line 11 def forward_declarable @forward_declarable end |
#linkage_name ⇒ Object (readonly)
Returns the value of attribute linkage_name
11 12 13 |
# File 'lib/milk_tea/core/ir.rb', line 11 def linkage_name @linkage_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name
11 12 13 |
# File 'lib/milk_tea/core/ir.rb', line 11 def name @name end |
#source_module ⇒ Object (readonly)
Returns the value of attribute source_module
11 12 13 |
# File 'lib/milk_tea/core/ir.rb', line 11 def source_module @source_module end |