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