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

Function cStatementFollows

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

Source from the content-addressed store, hash-verified

2073
2074/** Can a statement follow this code character, inside a block? (After `)`, a macro without its `;`.) */
2075const cStatementFollows = (ch: string | undefined): boolean =>
2076 ch === ';' || ch === '{' || ch === '}' || ch === ':' || ch === ')';
2077
2078/**
2079 * 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