src/language-js/parse/utils/create-parser.js/createParser
function createParser(options) {
  options = typeof options === "function" ? { parse: options } : options;

  return {
    astFormat: "estree",
    hasPragma,
    locStart,
    locEnd,
    ...options,
  };
}