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

Method endPosition

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

Get the position where this node ends.

()

Source from the content-addressed store, hash-verified

741 }
742 /** Get the position where this node ends. */
743 get endPosition() {
744 marshalNode(this);
745 C._ts_node_end_point_wasm(this.tree[0]);
746 return unmarshalPoint(TRANSFER_BUFFER);
747 }
748 /** Get the string content of this node. */
749 get text() {
750 return getText(this.tree, this.startIndex, this.endIndex, this.startPosition);

Callers

nothing calls this directly

Calls 2

marshalNodeFunction · 0.85
unmarshalPointFunction · 0.85

Tested by

no test coverage detected