/** * @apilevel internal * @declaredat ASTNode:45 */ public Param copy() { try { Param node = (Param) clone(); node.parent = null; if (children != null) { node.children = (ASTNode[]) children.clone(); } return node; } catch (CloneNotSupportedException e) { throw new Error("Error: clone not supported for " + getClass().getName()); } }