MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / constructor

Method constructor

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

@internal

(internal, address, language, textCallback)

Source from the content-addressed store, hash-verified

230 language;
231 /** @internal */
232 constructor(internal, address, language, textCallback) {
233 assertInternal(internal);
234 this[0] = address;
235 this.language = language;
236 this.textCallback = textCallback;
237 }
238 /** Create a shallow copy of the syntax tree. This is very fast. */
239 copy() {
240 const address = C._ts_tree_copy(this[0]);

Callers

nothing calls this directly

Calls 1

assertInternalFunction · 0.85

Tested by

no test coverage detected