code: function (param) {
      var name = param.name = param.name || ('xtemplate' + (++anonymousCount));
      var content = param.content;
      var root = compiler.parse(content, name);
      return genTopFunction(new AstToJSProcessor(param), 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
  @param {Boolean} [param.catchError] whether to try catch generated function to provide good error message
  @param {Boolean} [param.strict] whether to generate strict function
  @return {Object}