visitNameNode method

  1. @override
void visitNameNode(
  1. NameNode node
)
override

Visit NameNode.

Implementation

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

  super.visitNameNode(node);
}