//TemplateLocal_Return<Double> ReturnTemplate; public Form1() { InitializeComponent(); ExpressionCompiler = new FnScriptCompiler(); //Expression = new FnScriptExpression<Double>(null, null, new List<FnObject> { new FnObject<Form1>(this, false) }); //Expression.AddLocalParameter<Int32?>("spoof", 5); FnScriptResources.AddConstant<Object>("steve", 2.0); //FnScriptResources.AddSwitch("CloseWindow", new List<FnScriptResources.CompileFlags> { FnScriptResources.CompileFlags.DO_NOT_CACHE }); //FnScriptResources.AddMethodPointerToSwitch<Object>("CloseWindow", CloseWindow, new List<Type>()); ReturnTemplate = new FnVariable<double>(272.0); }
protected FunctalExpression(FnVariable <bool> isImmutableExecute) { this.IsImmutableExecute = isImmutableExecute; }