visitScalarTypeDefinitionNode method

  1. @override
void visitScalarTypeDefinitionNode (
  1. ScalarTypeDefinitionNode node
)
override

Visit ScalarTypeDefinitionNode.

Implementation

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

  super.visitScalarTypeDefinitionNode(node);
}