( write: Node, module: SourceModule, kindOfKey: KindOfKey )
| 1858 | } |
| 1859 | |
| 1860 | private destructuredWriteOf( |
| 1861 | write: Node, |
| 1862 | module: SourceModule, |
| 1863 | kindOfKey: KindOfKey |
| 1864 | ): KindBits { |
| 1865 | let root = write |
| 1866 | while (root.parent && isPatternPart(root.parent)) root = root.parent |
| 1867 | const parent = root.parent |
| 1868 | return parent?.type === "AssignmentExpression" && parent.left === root ? |
| 1869 | lostOf(this.transfer(parent.right, module, kindOfKey)) |
| 1870 | : kinds.data |
| 1871 | } |
| 1872 | |
| 1873 | private iteratedKindOf( |
| 1874 | declarator: Node, |
no test coverage detected