visitAwait method
Implementation
@override
visitAwait(AwaitExpression node) {
throw JSException(
node.line ?? 1, 'await can only be used inside async functions.');
}
@override
visitAwait(AwaitExpression node) {
throw JSException(
node.line ?? 1, 'await can only be used inside async functions.');
}