(node: Node, literal: Located)
| 3940 | // what a literal holds, or data while it's being resolved: e.g. `{ a: o.a }` |
| 3941 | // holds nothing until it holds something else |
| 3942 | private holderKindOf(node: Node, literal: Located): KindBits { |
| 3943 | if (this.resolving.has(node)) return kinds.data |
| 3944 | this.resolving.add(node) |
| 3945 | try { |
| 3946 | return holderOf(this.heldKindOf(literal)) |
| 3947 | } finally { |
| 3948 | this.resolving.delete(node) |
| 3949 | } |
| 3950 | } |
| 3951 | |
| 3952 | // `this`, or what `new` creates: the object or class that owns it |
| 3953 | private thisKindOf( |
no test coverage detected