MCPcopy Index your code
hub / github.com/nodejs/node / createTextChunk

Function createTextChunk

test/fixtures/snapshot/typescript.js:142726–142734  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

142724 return result;
142725 }
142726 function createTextChunk(text) {
142727 var textLowerCase = text.toLowerCase();
142728 return {
142729 text: text,
142730 textLowerCase: textLowerCase,
142731 isLowerCase: text === textLowerCase,
142732 characterSpans: breakIntoCharacterSpans(text)
142733 };
142734 }
142735 function breakIntoCharacterSpans(identifier) {
142736 return breakIntoSpans(identifier, /*word:*/ false);
142737 }

Callers 2

createSegmentFunction · 0.85

Calls 1

breakIntoCharacterSpansFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…