visitProgram method

  1. @override
void visitProgram(
  1. Program program
)
override

Implementation

@override
void visitProgram(Program program) {
  for (final import in program.imports) {
    import.accept(this);
  }

  for (final statement in program.body) {
    statement.accept(this);
  }
}