(name: string, value: any)
| 267 | } |
| 268 | |
| 269 | setProperty(name: string, value: any) { |
| 270 | this.properties[name] = value |
| 271 | if (this.enableMutations) { |
| 272 | const mutation = new NodeMutation() |
| 273 | mutation.node = this |
| 274 | mutation.property = name |
| 275 | mutation.value = value |
| 276 | mutation.type = NodeMutationType.SET_PROPERTY |
| 277 | this.fireMutation(mutation) |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | clean() { |
| 282 | // Called when a child or sub-child is deleted. |
no test coverage detected