visitScopedStatements static method

void visitScopedStatements(
  1. List<Statement> stmts, [
  2. NodeReferenceStorageVisitor? parent
])

Implementation

static void visitScopedStatements(List<o.Statement> stmts,
    [NodeReferenceStorageVisitor? parent]) {
  final visitor = NodeReferenceStorageVisitor(parent);
  for (var stmt in stmts) {
    stmt.visitStatement(visitor, null);
  }
}