parses a definition in this scope while its aliases may still be open
(def: unknown, ctx: BaseParseContext)
| 1170 | |
| 1171 | /** parses a definition in this scope while its aliases may still be open */ |
| 1172 | private parseOpenDef(def: unknown, ctx: BaseParseContext): BaseRoot { |
| 1173 | return defining(() => this.bindRef(this.parseOwn(def, ctx))) |
| 1174 | } |
| 1175 | |
| 1176 | fin<node extends BaseRoot>(node: node, jit = true): node { |
| 1177 | // an alias may reference a definition still parsing, e.g. Record<string, this> |