visitOptional method

  1. @override
Matcher<Expression> visitOptional(
  1. OptionalExpression node
)
override

Implementation

@override
Matcher visitOptional(OptionalExpression node) {
  final child = node.expression;
  final matcher = child.accept(this);
  return OptionalMatcher(node, matcher);
}