NodeBuilder<> nb(getKind());
if(getMetaKind() == kind::metakind::PARAMETERIZED) {
// push the operator
- nb << getOperator();
+ nb << getOperator().substitute(nodesBegin, nodesEnd,
+ replacementsBegin, replacementsEnd,
+ cache);
}
for(const_iterator i = begin(),
iend = end();
NodeBuilder<> nb(getKind());
if(getMetaKind() == kind::metakind::PARAMETERIZED) {
// push the operator
- nb << getOperator();
+ nb << getOperator().substitute(substitutionsBegin, substitutionsEnd, cache);
}
for(const_iterator i = begin(),
iend = end();