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