Package flex2.compiler.as3

Examples of flex2.compiler.as3.HostComponentExtension


        nameMappings = mappings;
        String gendir = (configuration.keepGeneratedActionScript()? configuration.getGeneratedDirectory() : null);

        // Create an As3Compiler as our delegate sub-compiler.
        As3Compiler asc = new As3Compiler(configuration);
        asc.addCompilerExtension(new EmbedExtension(transcoders, gendir, configuration.showDeprecationWarnings()));
        delegateSubCompiler = asc;
    }
View Full Code Here


            public boolean warn_unlikely_function_value() { return false; }
            public boolean warn_xml_class_has_changed() { return false; }
      public ObjectList<ConfigVar> getDefine() { return ascConfiguration.getDefine(); }
            public boolean keepEmbedMetadata() { return false; }
        });
        asc.addCompilerExtension(new HostComponentExtension(mxmlConfiguration.reportMissingRequiredSkinPartsAsWarnings()));
    }
View Full Code Here

        String gendir = (mxmlConfiguration.keepGeneratedActionScript()? mxmlConfiguration.getGeneratedDirectory() : null);
    asc.addCompilerExtension(new EmbedExtension(transcoders, gendir, mxmlConfiguration.showDeprecationWarnings()));
    asc.addCompilerExtension(new StyleExtension());
   
    // IMPORTANT!!!! The HostComponentExtension must run before the BindableExtension!!!!
    asc.addCompilerExtension(new HostComponentExtension(mxmlConfiguration.reportMissingRequiredSkinPartsAsWarnings()));
    asc.addCompilerExtension(new SkinPartExtension());
   
    // add binding extension only when processComments is false.
    if(!processComments)
    {
View Full Code Here

            public boolean warn_unlikely_function_value() { return false; }
            public boolean warn_xml_class_has_changed() { return false; }
      public ObjectList<ConfigVar> getDefine() { return ascConfiguration.getDefine(); }
            public boolean keepEmbedMetadata() { return false; }
        });
        asc.addCompilerExtension(new HostComponentExtension(mxmlConfiguration.reportMissingRequiredSkinPartsAsWarnings()));
    }
View Full Code Here

                  : 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,
                                                      compilerConfig.getServicesDependencies(), false));
    asc.addCompilerExtension(new SkinPartExtension());
    // asc.addCompilerExtension(new flex2.compiler.util.TraceExtension());
View Full Code Here

    ASDocExtension asdoc = new ASDocExtension(excludeClasses, includeOnly, packages, configuration.restoreBuiltinClasses());
    As3Compiler asc = (flex2.compiler.as3.As3Compiler)compilers[0];
    asc.addCompilerExtension(asdoc);
   
    // IMPORTANT!!!! The HostComponentExtension must run before the BindableExtension!!!!
    asc.addCompilerExtension(new HostComponentExtension(configuration.getCompilerConfiguration().reportMissingRequiredSkinPartsAsWarnings()) );
   
    String gendir = (compilerConfig.keepGeneratedActionScript()? compilerConfig.getGeneratedDirectory() : null);
    asc.addCompilerExtension(new BindableExtension(gendir, compilerConfig.getGenerateAbstractSyntaxTree(),true) );
    asc.addCompilerExtension(new ManagedExtension(gendir, compilerConfig.getGenerateAbstractSyntaxTree(),true) );
View Full Code Here

            public boolean warn_unlikely_function_value() { return false; }
            public boolean warn_xml_class_has_changed() { return false; }
      public ObjectList<ConfigVar> getDefine() { return ascConfiguration.getDefine(); }
            public boolean keepEmbedMetadata() { return false; }
        });
        asc.addCompilerExtension(new HostComponentExtension(mxmlConfiguration.reportMissingRequiredSkinPartsAsWarnings()));
    }
View Full Code Here

        String gendir = (mxmlConfiguration.keepGeneratedActionScript()? mxmlConfiguration.getGeneratedDirectory() : null);
    asc.addCompilerExtension(new EmbedExtension(transcoders, gendir, mxmlConfiguration.showDeprecationWarnings()));
    asc.addCompilerExtension(new StyleExtension());
   
    // IMPORTANT!!!! The HostComponentExtension must run before the BindableExtension!!!!
    asc.addCompilerExtension(new HostComponentExtension(mxmlConfiguration.reportMissingRequiredSkinPartsAsWarnings()));
    asc.addCompilerExtension(new SkinPartExtension());
   
    // add binding extension only when processComments is false.
    if(!processComments)
    {
View Full Code Here

                // TODO: compare DefineTag/associatedClass against given class
            }
            else if (def == null)
            {
                context.localizedError2(node.pos(), new MetaDataRequiresDefinition());
            }
            else
            {
              context.localizedError2(node.pos(), new EmbedOnlyOnClassesAndVars());
            }
View Full Code Here

    asc.addCompilerExtension(new EmbedExtension(transcoders, gendir, mxmlConfiguration.showDeprecationWarnings()));
    asc.addCompilerExtension(new StyleExtension());
   
    // IMPORTANT!!!! The HostComponentExtension must run before the BindableExtension!!!!
    asc.addCompilerExtension(new HostComponentExtension(mxmlConfiguration.reportMissingRequiredSkinPartsAsWarnings()));
    asc.addCompilerExtension(new SkinPartExtension());
   
    // add binding extension only when processComments is false.
    if(!processComments)
    {
        asc.addCompilerExtension(new BindableExtension(gendir, mxmlConfiguration.getGenerateAbstractSyntaxTree(), false));
View Full Code Here

TOP

Related Classes of flex2.compiler.as3.HostComponentExtension

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.