clonedChildren.add(child.clone());
}
AbstractParseTreeNode cloned = ParseTreeNodes.newNodeInstance(
getClass(), getFilePosition(), getValue(), clonedChildren);
if (attributes != null) {
cloned.attributes = new SyntheticAttributes(attributes);
}
cloned.synthetic = synthetic;
return cloned;
}