001package gudusoft.gsqlparser.analyzer.v2;
002
003import gudusoft.gsqlparser.ir.bound.BoundProgram;
004
005/**
006 * Complete IR program containing results from all three IR phases.
007 * <p>
008 * Phase A only populates the BoundProgram. LogicalProgram and FlowBundle
009 * will be added in later phases.
010 */
011public class IRProgram {
012
013    private final BoundProgram boundProgram;
014
015    // Phase B/C additions (null until implemented):
016    // private final LogicalProgram logicalProgram;
017    // private final FlowBundle flowBundle;
018
019    public IRProgram(BoundProgram boundProgram) {
020        this.boundProgram = boundProgram;
021    }
022
023    public BoundProgram getBoundProgram() { return boundProgram; }
024
025    @Override
026    public String toString() {
027        return "IRProgram{bound=" + boundProgram + "}";
028    }
029}