353637383940414243444546
{ try { // TODO decide if there is a better buffer size Lexer lexer = new Lexer(new PushbackReader(reader, 1024)); Parser parser = new Parser(lexer); templateAST = parser.parse(); } catch (ParserException e) { throw new IOException(e.toString()); }