}
final String gendir = (compilerConfig.keepGeneratedActionScript()
? compilerConfig.getGeneratedDirectory()
: null);
final boolean generateAbstractSyntaxTree = compilerConfig.getGenerateAbstractSyntaxTree();
asc.addCompilerExtension(new EmbedExtension(transcoders, gendir, compilerConfig.showDeprecationWarnings()));
asc.addCompilerExtension(new StyleExtension());
// IMPORTANT!!!! The HostComponentExtension must run before the BindableExtension!!!!
asc.addCompilerExtension(new HostComponentExtension(compilerConfig.reportMissingRequiredSkinPartsAsWarnings()));
asc.addCompilerExtension(new BindableExtension(gendir, generateAbstractSyntaxTree, false));
asc.addCompilerExtension(new ManagedExtension(gendir, generateAbstractSyntaxTree,