// ================================================================= // Creates a clone of this node. // ================================================================= CASTNode* CMethodBodyASTNode::Clone(CSemanter* semanter) { CMethodBodyASTNode* clone = new CMethodBodyASTNode(NULL, Token); CloneChildren(semanter, clone); return clone; }
// ================================================================= // Creates a clone of this node. // ================================================================= CASTNode* CPackageASTNode::Clone(CSemanter* semanter) { CPackageASTNode* clone = new CPackageASTNode(NULL, Token); CloneChildren(semanter, clone); return clone; }