MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / cStatementFollows

Function cStatementFollows

src/extraction/languages/c-cpp.ts:2074–2075  ·  view source on GitHub ↗
(ch: string | undefined)

Source from the content-addressed store, hash-verified

2072
2073/** Can a statement follow this code character, inside a block? (After `)`, a macro without its `;`.) */
2074const cStatementFollows = (ch: string | undefined): boolean =>
2075 ch === ';' || ch === '{' || ch === '}' || ch === ':' || ch === ')';
2076
2077/**
2078 * Which lines of a C file start a statement of a function body, given the

Callers 1

cStatementLinesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected