Ejemplo n.º 1
0
 public FunctionHandlers(Functions c, Variables v, FunctionPersistentData h, int recd)
 {
     caller         = c;
     vars           = v;
     persistentdata = h;
     recdepth       = recd;
     paras          = new List <Parameter>();
 }
Ejemplo n.º 2
0
        public static delegateGetCFH GetCFH;            // SET this to override and add on more functions

        public Functions(Variables v, FunctionPersistentData f)
        {
            vars           = v;
            persistentdata = f;

            if (GetCFH == null)                     // Make sure we at least have some functions.. the base ones
            {
                GetCFH = DefaultGetCFH;
            }
        }
Ejemplo n.º 3
0
 // backstop standard functions
 static public FunctionHandlers DefaultGetCFH(Functions c, Variables vars, FunctionPersistentData handles, int recdepth)
 {
     return(new FunctionsBasic(c, vars, handles, recdepth));
 }