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