()
| 237 | ) |
| 238 | |
| 239 | protected override initFlat(): void { |
| 240 | this.c.flatRefs = uniqueFlatRefs([ |
| 241 | ...this.leading.flatMap((element, i) => flatRefsAt(`${i}`, element.node)), |
| 242 | ...this.trail.flatMap(element => |
| 243 | // a postfix index can't be directly represented as a type |
| 244 | // key, so we just use the same matcher for variadic |
| 245 | flatRefsAt($ark.kw.nonNegativeIntegerString.internal, element) |
| 246 | ) |
| 247 | ]) |
| 248 | this.c.flatMorphs = [] |
| 249 | } |
| 250 | |
| 251 | isVariadicOnly: boolean = this.leading.length + this.postLen === 0 |
| 252 | minVariadicLength: number = this.inner.minVariadicLength ?? 0 |
nothing calls this directly
no test coverage detected