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