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