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

Method toString

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

Get the S-expression representation of this node.

()

Source from the content-addressed store, hash-verified

1159 }
1160 /** Get the S-expression representation of this node. */
1161 toString() {
1162 marshalNode(this);
1163 const address = C._ts_node_to_string_wasm(this.tree[0]);
1164 const result = C.AsciiToString(address);
1165 C._free(address);
1166 return result;
1167 }
1168};
1169
1170// src/marshal.ts

Callers 15

formatValueFunction · 0.45
parseValueFunction · 0.45
componentToHexFunction · 0.45
copyWhenGreaterFunction · 0.45
provideCodeLensesMethod · 0.45
_fetchAllMethod · 0.45
provideHoverMethod · 0.45
refreshForDocumentMethod · 0.45
ensureStartedMethod · 0.45
fetchStatsFunction · 0.45
RepositorySummaryFunction · 0.45

Calls 2

marshalNodeFunction · 0.85
AsciiToStringMethod · 0.80

Tested by

no test coverage detected