Exemplo n.º 1
0
 // <summary>
 // Default Visitor pattern method for unrecognized Ops
 // </summary>
 // <param name="op"> The unrecognized Op </param>
 // <param name="n"> The Node that references the Op </param>
 // <returns> This method always throws NotSupportedException </returns>
 // <exception cref="NotSupportedException">By design to indicate that the Op was not recognized and is therefore unsupported</exception>
 public override Node Visit(Op op, Node n)
 {
     throw new NotSupportedException(Strings.Iqt_General_UnsupportedOp(op.GetType().FullName));
 }
 public virtual void Visit(Op op, Node n)
 {
     throw new NotSupportedException(Strings.Iqt_General_UnsupportedOp((object)op.GetType().FullName));
 }