visitDocumentNode method

  1. @override
void visitDocumentNode(
  1. DocumentNode node
)
override

Visit DocumentNode.

Implementation

@override
void visitDocumentNode(
  DocumentNode node,
) {
  accumulator = [
    ...accumulator,
    ...visitors.expand(
      (visitor) => visitor.visitDocumentNode(node) ?? <A>[],
    )
  ];

  super.visitDocumentNode(node);
}