@notjustcoders/ioc-arise
Version:
Arise type-safe IoC containers from your code. Zero overhead, zero coupling.
18 lines • 586 B
TypeScript
import { ValueInfo } from '../types';
export declare class ValueAnalyzer {
private astParser;
private sourceDir;
private valuePattern?;
constructor(sourceDir: string, valuePattern?: string);
collectTokens(filePaths: string[]): Promise<{
valueNames: Set<string>;
interfaces: Set<string>;
}>;
analyzeFiles(filePaths: string[], tokens?: {
interfaces: Set<string>;
}): Promise<ValueInfo[]>;
private analyzeFileFromAST;
private hasValueAnnotation;
private calculateImportPath;
}
//# sourceMappingURL=value-analyzer.d.ts.map