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.
195 |
# File 'lib/milk_tea/core/ast.rb', line 195 def initialize(body:, line: nil, column: nil) = super |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
194 195 196 |
# File 'lib/milk_tea/core/ast.rb', line 194 def body @body end |
#column ⇒ Object (readonly)
Returns the value of attribute column
194 195 196 |
# File 'lib/milk_tea/core/ast.rb', line 194 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
194 195 196 |
# File 'lib/milk_tea/core/ast.rb', line 194 def line @line end |