while (!fromStack.isEmpty()) {
from = fromStack.pop();
to = toStack.pop();
ImploderAttachment attach = ImploderAttachment.get(from);
if (attach != null)
ImploderAttachment.putImploderAttachment(
to,
attach.isSequenceAttachment(),
attach.isSequenceAttachment() ? attach.getElementSort() : attach.getSort(),
attach.getLeftToken(),
attach.getRightToken());
for (int i = 0; i < from.getSubtermCount(); i++) {
fromStack.push(from.getSubterm(i));
IStrategoTerm subterm = to.getSubterm(i);