visitMethodInvocation method
void
visitMethodInvocation(
- MethodInvocation node
override
Examine method invocations to see if they look like calls to Intl.message. If we've found one, stop recursing. This is important because we can have Intl.message(...Intl.plural...) and we don't want to treat the inner plural as if it was an outermost message.
Implementation
void visitMethodInvocation(MethodInvocation node) {
if (!addIntlMessage(node)) {
super.visitMethodInvocation(node);
}
}