MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / line

Function line

src/extraction/languages/cobol.ts:47–49  ·  view source on GitHub ↗
(node: SyntaxNode)

Source from the content-addressed store, hash-verified

45const VALUE_LITERAL_RE = /\bVALUE\s+['"]([A-Za-z0-9$#@-]+)['"]/i;
46
47function line(node: SyntaxNode): number {
48 return node.startPosition.row + 1;
49}
50
51function endLineOf(node: SyntaxNode): number {
52 return node.endPosition.row + 1;

Callers 2

addRefFunction · 0.85
regionEndFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected