()
| 330 | } |
| 331 | |
| 332 | require(): SequenceNode { |
| 333 | const { defaultables, optionals, ...inner } = this.inner |
| 334 | return this.$.node("sequence", { |
| 335 | ...inner, |
| 336 | prefix: conflatenate( |
| 337 | this.prefix, |
| 338 | this.maybes.map(node => this.requiredOf(node)) |
| 339 | ) |
| 340 | }) |
| 341 | } |
| 342 | |
| 343 | /** the element that checks `data[index]` */ |
| 344 | protected atIndex(data: array, index: number): SequenceElement { |
nothing calls this directly
no test coverage detected