(node: ParseNode, value: any, offset: number, length: number)
| 187 | } |
| 188 | |
| 189 | setValue(node: ParseNode, value: any, offset: number, length: number) { |
| 190 | node.value = value; |
| 191 | node.rawValue = this.text.slice(offset, offset + length); |
| 192 | node.boundOffset = offset; |
| 193 | node.boundLength = length; |
| 194 | } |
| 195 | |
| 196 | addChild(child: ParseNode) { |
| 197 | const key = String(last(child.path)); |