Class: MilkTea::AST::AwaitExpr

Inherits:
Data
  • Object
show all
Defined in:
lib/milk_tea/core/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



273
274
275
# File 'lib/milk_tea/core/ast.rb', line 273

def column
  @column
end

#expressionObject (readonly)

Returns the value of attribute expression

Returns:

  • (Object)

    the current value of expression



273
274
275
# File 'lib/milk_tea/core/ast.rb', line 273

def expression
  @expression
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



273
274
275
# File 'lib/milk_tea/core/ast.rb', line 273

def line
  @line
end