private Interpret2 ( IList |
||
tokens | IList |
|
리턴 |
public static FormulaTree Interpret(IList<IFormulaToken> tokens, out ParsingError parsingError) { // TODO: split to InterpretNumber and InterpretLogic //var sw = new Stopwatch(); //sw.Start(); // interpret tokens var instance = new FormulaInterpreter(); var result = instance.Interpret2(tokens); parsingError = instance.ParsingError; //sw.Stop(); // Debug.WriteLine("Interpreter.Interpret needed " + sw.ElapsedMilliseconds + "ms"); return result; }
public static FormulaTree Interpret(IList <IFormulaToken> tokens, out ParsingError parsingError) { // TODO: split to InterpretNumber and InterpretLogic //var sw = new Stopwatch(); //sw.Start(); // interpret tokens var instance = new FormulaInterpreter(); var result = instance.Interpret2(tokens); parsingError = instance.ParsingError; //sw.Stop(); // Debug.WriteLine("Interpreter.Interpret needed " + sw.ElapsedMilliseconds + "ms"); return(result); }