/** * Apex Dependency Parser * * Parses .cls and .trigger files to extract dependency information. * Uses @apexdevtools/apex-parser (ANTLR4-based) to build a concrete * parse tree, then walks it with a visitor to extract: * - Class/interface inheritance (extends, implements) * - Type references (variable declarations, method params, return types, casts, instanceof) * - Object instantiation (new ClassName(...)) * - Static method invocations (ClassName.methodName()) * - SObject references in SOQL (FROM Object__c) * - Trigger SObject targets (trigger X on SObject) */ import { GraphNode, GraphEdge } from '../types.js'; export interface ApexParseResult { nodes: GraphNode[]; edges: GraphEdge[]; } /** * Parses all Apex classes and triggers within a package folder. */ export declare function parseApexPackage(projectRoot: string, packagePath: string, packageName: string): Promise; //# sourceMappingURL=apex-parser.d.ts.map