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