116 IR::Node *preorder(IR::ParserState *state)
override {
117 for (
const auto *component : state->components) {
118 const auto *statement = component->to<IR::MethodCallStatement>();
119 if (!statement)
continue;
120 const IR::MethodCallExpression *call = statement->methodCall;
122 const auto *method = call->method->to<IR::Member>();
123 if (!method)
continue;
125 if (method->member ==
"extract" && call->arguments->size() == 2) {
126 state->addOrReplaceAnnotation(
"dontmerge"_cs, {});