visitVariableDefinitionNode method

  1. @override
void visitVariableDefinitionNode (
  1. VariableDefinitionNode node
)
override

Visit VariableDefinitionNode.

Implementation

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

  super.visitVariableDefinitionNode(node);
}