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