예제 #1
0
        public virtual ValueParam cloneParameter()
        {
            ValueParam vp = new ValueParam();

            vp.value_Renamed = value_Renamed;
            vp.valueType     = valueType;
            return(vp);
        }
예제 #2
0
 /// <summary>
 /// </summary>
 public override String toPPString()
 {
     if (ppstring == null)
     {
         StringBuilder buf = new StringBuilder();
         buf.Append("TestNode-" + nodeID + "> (test (" + func.Name);
         for (int idx = 0; idx < params_Renamed.Length; idx++)
         {
             if (params_Renamed[idx] is BoundParam)
             {
                 BoundParam bp = (BoundParam)params_Renamed[idx];
                 buf.Append(" ?" + bp.VariableName);
             }
             else if (params_Renamed[idx] is ValueParam)
             {
                 ValueParam vp = (ValueParam)params_Renamed[idx];
                 buf.Append(" " + vp.StringValue);
             }
         }
         buf.Append(") )");
         ppstring = buf.ToString();
     }
     return(ppstring);
 }