/*Copy an ASTPair. Don't call it clone() because we want type-safety */ public virtual ASTPair copy() { ASTPair tmp = ASTPair.GetInstance(); tmp.root = root; tmp.child = child; return(tmp); }