* 判断与其它节点的位置关系 * * 16 thisNode contains otherNode * 8 thisNode contained_by otherNode * 2 thisNode before or after otherNode * 0 thisNode same as otherNode
(otherNode: INode)
| 1016 | * 0 thisNode same as otherNode |
| 1017 | */ |
| 1018 | comparePosition(otherNode: INode): PositionNO { |
| 1019 | return comparePosition(this, otherNode); |
| 1020 | } |
| 1021 | |
| 1022 | unlinkSlot(slotNode: INode) { |
| 1023 | const i = this._slots.indexOf(slotNode); |
no test coverage detected