Class: MilkTea::AST::OpaqueDecl
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::OpaqueDecl
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#c_name ⇒ Object
readonly
Returns the value of attribute c_name.
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#implements ⇒ Object
readonly
Returns the value of attribute implements.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#visibility ⇒ Object
readonly
Returns the value of attribute visibility.
Instance Method Summary collapse
-
#initialize(name:, implements:, c_name:, visibility:, line: nil, column: nil) ⇒ OpaqueDecl
constructor
A new instance of OpaqueDecl.
Constructor Details
#initialize(name:, implements:, c_name:, visibility:, line: nil, column: nil) ⇒ OpaqueDecl
Returns a new instance of OpaqueDecl.
97 |
# File 'lib/milk_tea/core/ast.rb', line 97 def initialize(name:, implements:, c_name:, visibility:, line: nil, column: nil) = super |
Instance Attribute Details
#c_name ⇒ Object (readonly)
Returns the value of attribute c_name
96 97 98 |
# File 'lib/milk_tea/core/ast.rb', line 96 def c_name @c_name end |
#column ⇒ Object (readonly)
Returns the value of attribute column
96 97 98 |
# File 'lib/milk_tea/core/ast.rb', line 96 def column @column end |
#implements ⇒ Object (readonly)
Returns the value of attribute implements
96 97 98 |
# File 'lib/milk_tea/core/ast.rb', line 96 def implements @implements end |
#line ⇒ Object (readonly)
Returns the value of attribute line
96 97 98 |
# File 'lib/milk_tea/core/ast.rb', line 96 def line @line end |
#name ⇒ Object (readonly)
Returns the value of attribute name
96 97 98 |
# File 'lib/milk_tea/core/ast.rb', line 96 def name @name end |
#visibility ⇒ Object (readonly)
Returns the value of attribute visibility
96 97 98 |
# File 'lib/milk_tea/core/ast.rb', line 96 def visibility @visibility end |