if (!(parent instanceof Body)) {
throw new BugHappened("Parent is not a body instance. " + parent, parent);
}
Body pBody = (Body) parent;
pBody.removeMember(node);
node.setParent(null);
}
public void replaceInBody(ASTCssNode oldNode, ASTCssNode newNode) {
ASTCssNode parent = oldNode.getParent();