001package gudusoft.gsqlparser.ir.builder;
002
003import gudusoft.gsqlparser.analyzer.v2.AnalyzerV2Config;
004
005/**
006 * Phase 3 Builder: Flow IR construction (CFG/DFG/CallGraph/Provenance).
007 * <p>
008 * Input: LogicalProgram (from Phase 2)
009 * Output: FlowBundle (all flow analysis graphs)
010 * <p>
011 * Phase C implementation. This interface is defined in Phase A for
012 * architecture completeness.
013 */
014public interface IFlowPlanner {
015
016    /**
017     * Builds the Flow IR from the logical program.
018     *
019     * @param logical logical program from Phase 2
020     * @param config  analyzer configuration
021     * @return flow bundle with CFG, DFG, CallGraph, and ProvenanceGraph
022     */
023    FlowBundle build(LogicalProgram logical, AnalyzerV2Config config);
024}