(child)
| 711 | return i; |
| 712 | } |
| 713 | #canAdoptWithSpace(child) { |
| 714 | return this.#canAdopt(child, adoptionWithSpaceMap); |
| 715 | } |
| 716 | #canAdopt(child, map = adoptionMap) { |
| 717 | if (!child || typeof child !== "object" || child.type !== null || child.#parts.length !== 1 || this.type === null) { |
| 718 | return false; |