visitDirectiveNode method

  1. @override
void visitDirectiveNode (
  1. DirectiveNode node
)
override

Visit DirectiveNode.

Implementation

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

  super.visitDirectiveNode(node);
}