Class: MilkTea::AST::ExtendingBlock
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::ExtendingBlock
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#methods ⇒ Object
readonly
Returns the value of attribute methods.
-
#type_name ⇒ Object
readonly
Returns the value of attribute type_name.
Instance Method Summary collapse
-
#initialize(type_name:, methods:, line: nil, column: nil) ⇒ ExtendingBlock
constructor
A new instance of ExtendingBlock.
Constructor Details
#initialize(type_name:, methods:, line: nil, column: nil) ⇒ ExtendingBlock
Returns a new instance of ExtendingBlock.
103 |
# File 'lib/milk_tea/core/ast.rb', line 103 def initialize(type_name:, methods:, line: nil, column: nil) = super |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def line @line end |
#methods ⇒ Object (readonly)
Returns the value of attribute methods
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def methods @methods end |
#type_name ⇒ Object (readonly)
Returns the value of attribute type_name
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def type_name @type_name end |