MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / flushRegex

Function flushRegex

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

mkFunction · 0.85

Tested by

no test coverage detected