void (@NotNull PyPrefixExpression node) { super.visitPyPrefixExpression(node); if (node.getOperator() == PyTokenTypes.AWAIT_KEYWORD) { var scopeOwner = ScopeUtil.getScopeOwner(node); if (!(scopeOwner instanceof PyFunction pyFunction && pyFunction.isAsync())) { markError(node.getFirstChild(), PyPsiBundle.message("ANN.await.outside.async.function")); } } }