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