(...args: ConstructorParameters<typeof BaseRoot>)
| 106 | } |
| 107 | |
| 108 | constructor(...args: ConstructorParameters<typeof BaseRoot>) { |
| 109 | super(...args) |
| 110 | // written now, so a later resolution stays a reference |
| 111 | this.c.fullJson = writeInnerJson(this) |
| 112 | this.expression = expressionOf(this) |
| 113 | const referenced = nodesById.get(this.reference) |
| 114 | if (hasArkKind(referenced, "context")) { |
| 115 | referenced.isReferencedById = true |
| 116 | ;(referenced.aliases ??= []).push(this) |
| 117 | if (!referenced.alias && !this.operator) |
| 118 | referenced.isReferencedAsThis = true |
| 119 | } else if (hasArkKind(referenced, "root")) this.target = referenced |
| 120 | } |
| 121 | readonly structure = undefined |
| 122 | // Allows bounds only aliases referencing their definition while it's parsed |
| 123 | closes = true |
nothing calls this directly
no test coverage detected