public static void SetFunction(string funcName, string functionBody) { MBTextModel functionBody1 = MBTextParser.Parse(MBTextManager.Tokenizer.Tokenize(functionBody)); MBTextManager.TextContext.SetFunction(funcName, functionBody1); }
private static string Process(string query, TextObject parent = null) => TextGrammarProcessor.Process(MBTextParser.Parse(MBTextManager.Tokenizer.Tokenize(query)), MBTextManager.TextContext, parent);