nl_tokens: Compile template
pl_tokens: function compileTpl ( file , options ) { let { config } = options ; let allowCache = ! config || config . cache == null || config . cache ; let content = file . content . toString ( ) ; const ast = file . ast || parseDom ( content ) ; allowCache && ( file . ast = ast ) ; let plugins = mergeVisitors ( ( config && config . plugins ) || [ ] ) ; transformAst ( ast , plugins , <mask> . assign ( { } , options , { file } ) ) ; let { keepOriginalContent } = config || { } ; if ( ! keepOriginalContent ) { // serialize by xml mode, close all elements content = serializeDom ( ast , { xmlMode : true } ) ; } return { ast , content } ; }