MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / edit

Method edit

website/public/wasm/web-tree-sitter.js:271–274  ·  view source on GitHub ↗

* Edit the syntax tree to keep it in sync with source code that has been * edited. * * You must describe the edit both in terms of byte offsets and in terms of * row/column coordinates.

(edit)

Source from the content-addressed store, hash-verified

269 * row/column coordinates.
270 */
271 edit(edit) {
272 marshalEdit(edit);
273 C._ts_tree_edit_wasm(this[0]);
274 }
275 /** Create a new {@link TreeCursor} starting from the root of the tree. */
276 walk() {
277 return this.rootNode.walk();

Callers

nothing calls this directly

Calls 1

marshalEditFunction · 0.85

Tested by

no test coverage detected