(fn)
| 509 | * @returns {boolean} true when all params are plain identifiers |
| 510 | */ |
| 511 | const isSimpleFunction = (fn) => { |
| 512 | const params = fn.params; |
| 513 | for (let i = 0; i < params.length; i++) { |
| 514 | if (params[i].type !== "Identifier") return false; |
| 515 | } |
| 516 | return true; |
| 517 | }; |
| 518 | |
| 519 | /** @type {ParseOptions} */ |
| 520 | const defaultParserOptions = { |