public Template parseTeaTemplate ( String templateName ) throws IOException { if ( templateName == null ) { return null ; } preserveParseTree ( templateName ) ; compile ( templateName ) ; CompilationUnit unit = getCompilationUnit ( templateName , null ) ; if ( unit == null ) { return null ; } return unit . getParseTree ( ) ; }
Perform Tea parsing . This method will compile the named template .