wait method

Expr wait()

Implementation

Expr wait() {
  if (match([TokenType.AWAIT])) {
    Token operator = previous();
    Expr right = call();
    return Await(operator, right);
  }
  return call();
}