visitTypeConditionNode method

  1. @override
void visitTypeConditionNode (
  1. TypeConditionNode node
)
override

Visit TypeConditionNode.

Implementation

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

  super.visitTypeConditionNode(node);
}