question: public void compile ( int throughPhase ) throws CompilationFailedException { gotoPhase ( Phases . INITIALIZATION ) ; throughPhase = Math . min ( throughPhase , Phases . ALL ) ; while ( throughPhase >= phase && phase <= Phases . ALL ) { if ( phase == Phases . SEMANTIC_ANALYSIS ) { doPhaseOperation ( resolve ) ; if ( dequeued ( ) ) continue ; } processPhaseOperations ( phase ) ; processNewPhaseOperations ( phase ) ; if ( progressCallback != null ) progressCallback . call ( this , phase ) ; completePhase ( ) ; applyToSourceUnits ( mark ) ; if ( dequeued ( ) ) continue ; gotoPhase ( phase + 1 ) ; if ( phase == Phases . CLASS_GENERATION ) { sortClasses ( ) ; } } errorCollector . failIfErrors ( ) ; }
target:  Compiles the compilation unit from sources.