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