public override void Visit(VarDefListOp op, Node n) { VisitDefault(n); foreach (var chi in n.Children) { AssertOpType(chi.Op, OpType.VarDef); } }
// <summary> // Copies a VarDefListOp // </summary> // <param name="op"> The Op to Copy </param> // <param name="n"> The Node that references the Op </param> // <returns> A copy of the original Node that references a copy of the original Op </returns> public override Node Visit(VarDefListOp op, Node n) { return(CopyDefault(m_destCmd.CreateVarDefListOp(), n)); }
public virtual void Visit(VarDefListOp op, Node n) { this.VisitAncillaryOpDefault((AncillaryOp)op, n); }
/// <summary> /// Visitor pattern method for VarDefListOp /// </summary> /// <param name="op"> The VarDefListOp being visited </param> /// <param name="n"> The Node that references the Op </param> public virtual void Visit(VarDefListOp op, Node n) { VisitAncillaryOpDefault(op, n); }
// <summary> // VarDefListOp // </summary> public virtual TResultType Visit(VarDefListOp op, Node n) { return(VisitAncillaryOpDefault(op, n)); }