acceptChild method
MatcherGenerator<Matcher<Expression> >
acceptChild(
- MatcherVisitor<
MatcherGenerator< visitor,Matcher< >Expression> > - Matcher<
Expression> matcher, - MatcherGenerator<
Matcher< parentExpression> >
Implementation
MatcherGenerator acceptChild(MatcherVisitor<MatcherGenerator> visitor,
Matcher matcher, MatcherGenerator parent) {
final generator = matcher.accept(visitor);
generator.allocator = parent.allocator;
return generator;
}