visitOptional method
Implementation
@override
List<Matcher> visitOptional(OptionalExpression node) {
if (postfix) {
return _visitSingle(
node, (matcher) => PostfixOptionalMatcher(node, matcher));
} else {
return _visitSingle(node, (matcher) => OptionalMatcher(node, matcher));
}
}