Class: MilkTea::AST::FormatTextPart
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::FormatTextPart
- 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.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value:, line: nil, column: nil) ⇒ FormatTextPart
constructor
A new instance of FormatTextPart.
Constructor Details
#initialize(value:, line: nil, column: nil) ⇒ FormatTextPart
Returns a new instance of FormatTextPart.
298 |
# File 'lib/milk_tea/core/ast.rb', line 298 def initialize(value:, line: nil, column: nil) = super |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
297 298 299 |
# File 'lib/milk_tea/core/ast.rb', line 297 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
297 298 299 |
# File 'lib/milk_tea/core/ast.rb', line 297 def line @line end |
#value ⇒ Object (readonly)
Returns the value of attribute value
297 298 299 |
# File 'lib/milk_tea/core/ast.rb', line 297 def value @value end |