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

Function createSegment

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

Source from the content-addressed store, hash-verified

142634 }
142635 }
142636 function createSegment(text) {
142637 return {
142638 totalTextChunk: createTextChunk(text),
142639 subWordTextChunks: breakPatternIntoTextChunks(text)
142640 };
142641 }
142642 function isUpperCaseLetter(ch) {
142643 // Fast check for the ascii range.
142644 if (ch >= 65 /* CharacterCodes.A */ && ch <= 90 /* CharacterCodes.Z */) {

Callers 1

createPatternMatcherFunction · 0.85

Calls 2

createTextChunkFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…