MCPcopy Create free account
hub / github.com/continuedev/continue / getNodeText

Function getNodeText

core/nextEdit/NextEditEditableRegionCalculator.ts:749–753  ·  view source on GitHub ↗
(node: Parser.SyntaxNode)

Source from the content-addressed store, hash-verified

747
748// Helper function to get a node's text.
749function getNodeText(node: Parser.SyntaxNode): string {
750 if (!node) return "";
751
752 return node.text;
753}
754
755// Helper function to get a node's position.
756function getNodePosition(node: Parser.SyntaxNode): Position | null {

Callers 1

staticRerankJumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected