MCPcopy
hub / github.com/prettier/prettier / locStart

Function locStart

src/language-css/loc.js:530–530  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

528}
529
530const locStart = (node) => node.source.startOffset;
531const locEnd = (node) => node.source.endOffset;
532
533export { calculateLoc, locEnd, locStart, replaceQuotesInInlineComments };

Callers 15

genericPrintFunction · 0.90
printSequenceFunction · 0.90
hasCommaFunction · 0.90
printIgnoredFunction · 0.50
findSiblingAncestorsFunction · 0.50
findNodeAtOffsetFunction · 0.50
calculateRangeFunction · 0.50
nodeContainsCursorFunction · 0.50
getCursorLocationFunction · 0.50
printLeadingCommentFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…