mira-consciousness
Version:
Memory & Intelligence Retention Archive - Preserving The Spark
33 lines • 1.01 kB
TypeScript
/**
* Call Graph Builder
* Builds and manages the call graph for identifying unused code
*/
import { CallGraphNode, FileMetadata } from './types.js';
export declare class CallGraphBuilder {
private projectRoot;
private languageManager;
private callGraph;
private fileMetadata;
private entryPoints;
constructor(projectRoot: string);
buildCallGraph(): Promise<{
callGraph: Map<string, CallGraphNode>;
fileMetadata: Map<string, FileMetadata>;
entryPoints: Set<string>;
}>;
private analyzeFile;
private buildFileCallGraph;
private extractFunctionNames;
private extractImports;
private extractExports;
private extractFunctions;
private extractClasses;
private extractVariables;
private buildCallRelationships;
private getLineNumber;
private isExported;
private findContainingFunction;
private identifyEntryPoints;
private identifyFrameworkEntryPoints;
}
//# sourceMappingURL=CallGraphBuilder.d.ts.map