( name: string, ctx: BaseParseContext, node: BaseRoot )
| 649 | } |
| 650 | |
| 651 | private resolveContext( |
| 652 | name: string, |
| 653 | ctx: BaseParseContext, |
| 654 | node: BaseRoot |
| 655 | ): BaseRoot { |
| 656 | if (ctx.isReferencedById) { |
| 657 | if (nodesById.get(node.id) !== node) node = withId(node, ctx.id) |
| 658 | publishNode(ctx, node) |
| 659 | } else nodesById.delete(ctx.id) |
| 660 | return (this.res[name] = node) |
| 661 | } |
| 662 | |
| 663 | private resolvePending(name: string, pending: BaseRoot): BaseRoot { |
| 664 | if (inProgress.definitions && !isResolvable(pending)) { |
nothing calls this directly
no test coverage detected