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