예제 #1
0
 public override void Visit(VarDefListOp op, Node n)
 {
     VisitDefault(n);
     foreach (var chi in n.Children)
     {
         AssertOpType(chi.Op, OpType.VarDef);
     }
 }
예제 #2
0
 // <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);
 }
예제 #4
0
 /// <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);
 }
예제 #5
0
 // <summary>
 // VarDefListOp
 // </summary>
 public virtual TResultType Visit(VarDefListOp op, Node n)
 {
     return(VisitAncillaryOpDefault(op, n));
 }