//////////////////////////////////////////////////////////////////////////////// // // ADOBE SYSTEMS INCORPORATED // Copyright 2005-2007 Adobe Systems Incorporated // All Rights Reserved. // // NOTICE: Adobe permits you to use, modify, and distribute this file // in accordance with the terms of the license agreement accompanying it. // //////////////////////////////////////////////////////////////////////////////// package flex2.compiler; import flex2.compiler.common.Configuration; import flex2.compiler.util.NameMappings; import java.util.List; /** * This interface defines the common methods executed during the * prelink phase. * * @author Clement Wong */ public interface PreLink { /** * Runs pre-link to analyze known dependencies and generate mix-ins and * style initialization code. * * @return true if additional sources were generated and pre-link should be * run again, otherwise false (and thus postRun() can now be called). */ boolean run(List sources, List units, FileSpec fileSpec, SourceList sourceList, SourcePath sourcePath, ResourceBundlePath bundlePath, ResourceContainer resources, SymbolTable symbolTable, CompilerSwcContext swcContext, NameMappings nameMappings, Configuration configuration); void postRun(List sources, List units, ResourceContainer resources, SymbolTable symbolTable, CompilerSwcContext swcContext, NameMappings nameMappings, Configuration configuration); }