visitFragmentSpreadNode method

  1. @override
void visitFragmentSpreadNode (
  1. FragmentSpreadNode node
)
override

Visit FragmentSpreadNode.

Implementation

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

  super.visitFragmentSpreadNode(node);
}