public EvaluationContext(LanguageRuntime runtime) { Runtime = runtime; LanguageCaseSensitive = Runtime.Language.Grammar.CaseSensitive; //Globals = new GlobalValuesTable(100, Symbols, LanguageCaseSensitive); Globals = new ValuesTable(100); CallDispatcher = new DynamicCallDispatcher(this); ThreadId = Thread.CurrentThread.ManagedThreadId; TopFrame = new StackFrame(this, Globals); CurrentFrame = TopFrame; Data = new DataStack(); Data.Init(runtime.Unassigned); //set LastPushedItem to unassigned }
public virtual bool HandleException(Exception ex, DynamicCallDispatcher dispatcher, OperatorImplementation failedTarget, EvaluationContext context) { return(false); }