visitNamedTypeNode method

  1. @override
void visitNamedTypeNode(
  1. NamedTypeNode node
)
override

Visit NamedTypeNode.

Implementation

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

  super.visitNamedTypeNode(node);
}