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