(node: MINode)
| 107 | } |
| 108 | |
| 109 | public applyChanges(node: MINode) { |
| 110 | this.value = MINode.valueOf(node, "value"); |
| 111 | if (MINode.valueOf(node, "type_changed")) { |
| 112 | this.type = MINode.valueOf(node, "new_type"); |
| 113 | } |
| 114 | this.dynamic = !!MINode.valueOf(node, "dynamic"); |
| 115 | this.displayhint = MINode.valueOf(node, "displayhint"); |
| 116 | this.hasMore = !!MINode.valueOf(node, "has_more"); |
| 117 | } |
| 118 | |
| 119 | public isCompound(): boolean { |
| 120 | return this.numchild > 0 || |
no test coverage detected