visitProgram method
Implementation
@override
Future<void> visitProgram(Program program) async {
final core = DartSdkPackage(name: 'core');
await Future.wait([
_resolvePackage(core),
for (final import in program.imports) import.accept(this),
]);
for (final statement in program.body) {
await statement.accept(this);
}
}