MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / flushSeg

Function flushSeg

src/utils/bash/bashParser.ts:2922–2926  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2920 let segStart = P.L.b
2921 let braceDepth = 0
2922 const flushSeg = (): void => {
2923 if (P.L.b > segStart) {
2924 parts.push(mk(P, 'word', segStart, P.L.b, []))
2925 }
2926 }
2927 while (P.L.i < P.L.len) {
2928 const c = peek(P.L)
2929 if (c === '\n') break

Callers 3

parseExpansionRestFunction · 0.85
parseTestExtglobRhsFunction · 0.85

Calls 2

mkFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected