visitDoBlockStmt method
Implementation
@override
Object? visitDoBlockStmt(DoBlockStmt doBlockStmt) {
final prevScope = scope;
pushScope();
try {
for (Stmt stmt in doBlockStmt.body) {
stmt.accept(this);
}
} catch (e) {
rethrow;
} finally {
restoreScope(prevScope);
}
return null;
}