code: function (tplContent, name, isModule) {
              var root = compiler.parse(tplContent, name);
              uuid = 0;
              xtplAstToJs.isModule = isModule;
              return genTopFunction(xtplAstToJs, root.statements);
          }
docs: get template function json format
  @param {String} [name] xtemplate name
  @param {String} tplContent
  @param {Boolean} [isModule] whether generated function is used in module
  @return {Object}