(nodeOrProperties)
| 91 | } |
| 92 | |
| 93 | createChild(nodeOrProperties) { |
| 94 | const node = |
| 95 | nodeOrProperties instanceof Node |
| 96 | ? nodeOrProperties.clone() |
| 97 | : new Node(nodeOrProperties); |
| 98 | node.setProperty("parent", this); |
| 99 | return node; |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * @param {Node} [target] |
no test coverage detected