diff --git a/gitnexus/src/core/ingestion/cfg/visitors/c-cpp-harvest.ts b/gitnexus/src/core/ingestion/cfg/visitors/c-cpp-harvest.ts index ff1fa2f99..af8eb432f 100644 --- a/gitnexus/src/core/ingestion/cfg/visitors/c-cpp-harvest.ts +++ b/gitnexus/src/core/ingestion/cfg/visitors/c-cpp-harvest.ts @@ -116,7 +116,7 @@ export class CCppHarvester { } /** The completed binding table — pass to `CfgBuilder.finish`. */ - table(): readonly BindingEntry[] { + bindingTable(): readonly BindingEntry[] { return this.bindings; } diff --git a/gitnexus/src/core/ingestion/cfg/visitors/c-cpp.ts b/gitnexus/src/core/ingestion/cfg/visitors/c-cpp.ts index 839b6daa1..0e22870d3 100644 --- a/gitnexus/src/core/ingestion/cfg/visitors/c-cpp.ts +++ b/gitnexus/src/core/ingestion/cfg/visitors/c-cpp.ts @@ -738,11 +738,11 @@ function buildFunctionCfg( walk.finishGotos(); if (!res) { builder.edge(builder.entryIndex, builder.exitIndex, 'seq'); // empty body - return builder.finish(harvest.table()); + return builder.finish(harvest.bindingTable()); } builder.edge(builder.entryIndex, res.entry, 'seq'); builder.connect(res.exits, builder.exitIndex, 'seq'); // normal fall-off → EXIT - return builder.finish(harvest.table()); + return builder.finish(harvest.bindingTable()); } catch (err) { // Never throw out of buildFunctionCfg — a malformed AST shape must skip only // this one function's CFG, never drop the whole file's language group (R4). diff --git a/gitnexus/src/core/ingestion/cfg/visitors/csharp-harvest.ts b/gitnexus/src/core/ingestion/cfg/visitors/csharp-harvest.ts index 01f0e0fdf..860808100 100644 --- a/gitnexus/src/core/ingestion/cfg/visitors/csharp-harvest.ts +++ b/gitnexus/src/core/ingestion/cfg/visitors/csharp-harvest.ts @@ -112,7 +112,7 @@ export class CsharpHarvester { } /** The completed binding table — pass to `CfgBuilder.finish`. */ - table(): readonly BindingEntry[] { + bindingTable(): readonly BindingEntry[] { return this.bindings; } diff --git a/gitnexus/src/core/ingestion/cfg/visitors/csharp.ts b/gitnexus/src/core/ingestion/cfg/visitors/csharp.ts index 48a58ad78..e68117c6e 100644 --- a/gitnexus/src/core/ingestion/cfg/visitors/csharp.ts +++ b/gitnexus/src/core/ingestion/cfg/visitors/csharp.ts @@ -875,18 +875,18 @@ function buildFunctionCfg(fnNode: SyntaxNode, filePath: string): FunctionCfg | u ); builder.edge(builder.entryIndex, blk, 'seq'); builder.edge(blk, builder.exitIndex, 'return'); - return builder.finish(harvest.table()); + return builder.finish(harvest.bindingTable()); } const walk = new CsharpCfgWalk(builder, harvest); const res = walk.visitSeq(body.namedChildren.filter((c) => c.type !== 'comment')); if (!res) { builder.edge(builder.entryIndex, builder.exitIndex, 'seq'); // empty body - return builder.finish(harvest.table()); + return builder.finish(harvest.bindingTable()); } builder.edge(builder.entryIndex, res.entry, 'seq'); builder.connect(res.exits, builder.exitIndex, 'seq'); // normal fall-off → EXIT - return builder.finish(harvest.table()); + return builder.finish(harvest.bindingTable()); } catch (err) { // Never throw out of buildFunctionCfg — a malformed AST shape must skip only // this one function's CFG, never drop the whole file's language group (R4). diff --git a/gitnexus/src/core/ingestion/cfg/visitors/go-harvest.ts b/gitnexus/src/core/ingestion/cfg/visitors/go-harvest.ts index 107e73181..a00a7cc18 100644 --- a/gitnexus/src/core/ingestion/cfg/visitors/go-harvest.ts +++ b/gitnexus/src/core/ingestion/cfg/visitors/go-harvest.ts @@ -133,7 +133,7 @@ export class GoHarvester { } /** The completed binding table — pass to `CfgBuilder.finish`. */ - table(): readonly BindingEntry[] { + bindingTable(): readonly BindingEntry[] { return this.bindings; } diff --git a/gitnexus/src/core/ingestion/cfg/visitors/go.ts b/gitnexus/src/core/ingestion/cfg/visitors/go.ts index b4b0c58db..40a474d6d 100644 --- a/gitnexus/src/core/ingestion/cfg/visitors/go.ts +++ b/gitnexus/src/core/ingestion/cfg/visitors/go.ts @@ -869,7 +869,7 @@ function buildFunctionCfg(fnNode: SyntaxNode, filePath: string): FunctionCfg | u const afterDefers = walk.finishDefers(normalExits); builder.connect(afterDefers, builder.exitIndex, 'seq'); walk.flushGotos(builder); - return builder.finish(harvest.table()); + return builder.finish(harvest.bindingTable()); } catch (err) { // Never throw out of buildFunctionCfg — a malformed AST shape must skip only // this one function's CFG, never drop the whole file's language group (R4). diff --git a/gitnexus/src/core/ingestion/cfg/visitors/java-harvest.ts b/gitnexus/src/core/ingestion/cfg/visitors/java-harvest.ts index 3e2ccd6b0..f23dfd769 100644 --- a/gitnexus/src/core/ingestion/cfg/visitors/java-harvest.ts +++ b/gitnexus/src/core/ingestion/cfg/visitors/java-harvest.ts @@ -112,7 +112,7 @@ export class JavaHarvester { } /** The completed binding table — pass to `CfgBuilder.finish`. */ - table(): readonly BindingEntry[] { + bindingTable(): readonly BindingEntry[] { return this.bindings; } diff --git a/gitnexus/src/core/ingestion/cfg/visitors/java.ts b/gitnexus/src/core/ingestion/cfg/visitors/java.ts index 009c71481..37f5bbf9e 100644 --- a/gitnexus/src/core/ingestion/cfg/visitors/java.ts +++ b/gitnexus/src/core/ingestion/cfg/visitors/java.ts @@ -961,18 +961,18 @@ function buildFunctionCfg(fnNode: SyntaxNode, filePath: string): FunctionCfg | u ); builder.edge(builder.entryIndex, blk, 'seq'); builder.edge(blk, builder.exitIndex, 'return'); - return builder.finish(harvest.table()); + return builder.finish(harvest.bindingTable()); } const walk = new JavaCfgWalk(builder, harvest); const res = walk.visitSeq(body.namedChildren.filter((c) => !isComment(c))); if (!res) { builder.edge(builder.entryIndex, builder.exitIndex, 'seq'); // empty body - return builder.finish(harvest.table()); + return builder.finish(harvest.bindingTable()); } builder.edge(builder.entryIndex, res.entry, 'seq'); builder.connect(res.exits, builder.exitIndex, 'seq'); // normal fall-off → EXIT - return builder.finish(harvest.table()); + return builder.finish(harvest.bindingTable()); } catch (err) { // Never throw out of buildFunctionCfg — a malformed AST shape must skip only // this one function's CFG, never drop the whole file's language group (R4).