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

Function flushRegex

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

Source from the content-addressed store, hash-verified

3037 const out: TsNode[] = []
3038 let segStart = P.L.b
3039 const flushRegex = (): void => {
3040 if (P.L.b > segStart) out.push(mk(P, 'regex', segStart, P.L.b, []))
3041 }
3042 while (P.L.i < P.L.len) {
3043 const c = peek(P.L)
3044 if (c === '}' || c === '\n') break

Callers 1

Calls 2

mkFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected