visitDirectiveDefinitionNode method

  1. @override
void visitDirectiveDefinitionNode (
  1. DirectiveDefinitionNode node
)
override

Visit DirectiveDefinitionNode.

Implementation

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

  super.visitDirectiveDefinitionNode(node);
}