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

Function isDefine

src/resolution/cpp-macro-visibility.ts:67–68  ·  view source on GitHub ↗
(n: { kind: string; signature?: string })

Source from the content-addressed store, hash-verified

65}
66
67const isDefine = (n: { kind: string; signature?: string }): boolean =>
68 n.kind === 'constant' && CPP_DEFINE_SIGNATURE.test(n.signature ?? '');
69
70/**
71 * Is this C/C++ `calls` ref a macro expansion rather than a call? True when

Callers 1

isVisibleCppMacroFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected