code: function (tpl) {
              var func = this.compile(tpl);
              return 'function(' + func.params.join(',') + '){\n' +
                  func.source.join('\n') +
                  '}';
          }
docs: get template function string
  @param {String} tpl
  @return {String}