(element: Facts)
| 409 | const wrap = (f: Facts) => (f.terms ? `(${f.key})` : f.key) |
| 410 | |
| 411 | const arrayFacts = (element: Facts): Facts => { |
| 412 | const of = `${wrap(element)}[]` |
| 413 | return { |
| 414 | key: of, |
| 415 | domains: objectBits, |
| 416 | pure: element.pure, |
| 417 | cyclic: element.cyclic, |
| 418 | base: "array", |
| 419 | of, |
| 420 | ...holding(element) |
| 421 | } |
| 422 | } |
| 423 | |
| 424 | const scanTerm = (def: string): Facts | undefined => { |
| 425 | if (stringLiteral.test(def)) { |
no test coverage detected