MCPcopy Create free account
hub / github.com/WebFreak001/code-debug / applyChanges

Method applyChanges

src/backend/backend.ts:109–117  ·  view source on GitHub ↗
(node: MINode)

Source from the content-addressed store, hash-verified

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 ||

Callers 1

variablesRequestMethod · 0.80

Calls 1

valueOfMethod · 0.80

Tested by

no test coverage detected