src/parser/parser.js
function (template) {
      var tree = this.getTree(template)
      var runTimePlugins

      // Copy so far runtime plugins were generated.
      runTimePlugins = this.runTimePlugins

      var blocks = this.blocks

      var outerBlocks = this.outerBlocks

      this.clear()
      // Nope, we do not want to clear the cache.
      // Refactor to maintain cache. Until that keep commented.
      // this.files = {};
      return {
        tree: tree,
        runTimePlugins: runTimePlugins,
        blocks: blocks,
        outerBlocks: outerBlocks
      }
    }
function (template) {
      var tree = this.getTree(template)
      var runTimePlugins

      // Copy so far runtime plugins were generated.
      runTimePlugins = this.runTimePlugins

      var blocks = this.blocks

      var outerBlocks = this.outerBlocks

      this.clear()
      // Nope, we do not want to clear the cache.
      // Refactor to maintain cache. Until that keep commented.
      // this.files = {};
      return {
        tree: tree,
        runTimePlugins: runTimePlugins,
        blocks: blocks,
        outerBlocks: outerBlocks
      }
    }
function ( template ) { var tree = this . getTree ( template ) var runTimePlugins // Copy so far runtime plugins were generated. runTimePlugins = this . runTimePlugins var blocks = this . blocks var outerBlocks = this . outerBlocks this . clear ( ) // Nope, we do not want to clear the cache. // Refactor to maintain cache. Until that keep commented. // this.files = {}; return { tree : tree , runTimePlugins : runTimePlugins , blocks : blocks , outerBlocks : outerBlocks } }
Parse the template and return the data.
Parse the template and return the data .