MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / readNode

Function readNode

src/cm/tagAutoRename.ts:47–49  ·  view source on GitHub ↗
(doc: Text, node: SyntaxNode)

Source from the content-addressed store, hash-verified

45}
46
47function readNode(doc: Text, node: SyntaxNode): string {
48 return doc.sliceString(node.from, node.to);
49}
50
51function getRenameTarget(
52 state: EditorState,

Callers 1

getRenameTargetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected