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

Function flushSeg

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

Source from the content-addressed store, hash-verified

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

Callers 3

parseExpansionRestFunction · 0.85
parseTestExtglobRhsFunction · 0.85

Calls 2

mkFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected