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