private static string ToTreeFormat(string text, Dictionary <ElementType, Func <object, Formatter.Tag> > translations) { return(Formatter.ToTreeFormat(Formatter.Parse(text), translations)); }
public static List <Element> Parse(string text) { return(Formatter.Parse(Formatter.Lexer.Lex(text))); }