if (!(parent instanceof Body)) {
throw new BugHappened("Parent is not a body instance. " + parent, parent);
}
Body pBody = (Body) parent;
pBody.replaceMember(oldNode, newNode);
}
public void replaceInBody(ASTCssNode oldNode, List<ASTCssNode> newNodes) {
ASTCssNode parent = oldNode.getParent();
if (!(parent instanceof Body)) {