예제 #1
0
        public RuntimeKernel(IEngineFunctionCaller funcCaller, FireMLRoot fireMLRoot)
        {
            this.funcCaller = funcCaller;
            this.root       = fireMLRoot;
            this.visitor    = new ASTVisitor(this, root);
            this.runtimeData.InstructionStack.Push(InstructionStack.ROOT_FLAG);

            funcCaller.UserSelected += new SelectEventHandler(funcCaller_UserSelected);
        }
        public RuntimeKernel(IEngineFunctionCaller funcCaller, FireMLRoot fireMLRoot)
        {
            this.funcCaller = funcCaller;
            this.root = fireMLRoot;
            this.visitor = new ASTVisitor(this, root);
            this.runtimeData.InstructionStack.Push(InstructionStack.ROOT_FLAG);

            funcCaller.UserSelected += new SelectEventHandler(funcCaller_UserSelected);
        }