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