| 93 | hasMore: boolean; |
| 94 | id: number; |
| 95 | constructor(node: any) { |
| 96 | this.name = MINode.valueOf(node, "name"); |
| 97 | this.exp = MINode.valueOf(node, "exp"); |
| 98 | this.numchild = parseInt(MINode.valueOf(node, "numchild")); |
| 99 | this.type = MINode.valueOf(node, "type"); |
| 100 | this.value = MINode.valueOf(node, "value"); |
| 101 | this.threadId = MINode.valueOf(node, "thread-id"); |
| 102 | this.frozen = !!MINode.valueOf(node, "frozen"); |
| 103 | this.dynamic = !!MINode.valueOf(node, "dynamic"); |
| 104 | this.displayhint = MINode.valueOf(node, "displayhint"); |
| 105 | // TODO: use has_more when it's > 0 |
| 106 | this.hasMore = !!MINode.valueOf(node, "has_more"); |
| 107 | } |
| 108 | |
| 109 | public applyChanges(node: MINode) { |
| 110 | this.value = MINode.valueOf(node, "value"); |