// /** // * the implementation will look at the parameters for // * the function and see if it takes BoundParam // */ // public boolean hasVariables() { // if (this.func.getParameter() != null) { // Class[] pms = func.getParameter(); // for (int idx=0; idx < pms.length; idx++) { // if (pms[idx] == BoundParam.class) { // binds.Add(pms[idx]); // } // } // if (binds.Count() > 0) { // return true; // } else { // return true; // } // } else { // return false; // } // } public virtual void clear() { node = null; }
/// <summary> The current implementation checks to make sure the node is a /// TestNode. If it is, it will set the node. If not, it will ignore /// it. /// </summary> public virtual void addNode(BaseNode node) { if (node is TestNode) { this.node = (TestNode) node; } }