Package flex2.compiler.as3.reflect

Examples of flex2.compiler.as3.reflect.TypeTable


    private static final String COMPILER_NAME = "i18n";

    public I18nCompiler(final CompilerConfiguration compilerConfig, Transcoder[] transcoders)
    {
      configuration = compilerConfig;
        asc = new flex2.compiler.as3.As3Compiler(new As3Configuration()
        {
            public boolean optimize() { return true; }
            public boolean verboseStacktraces() { return false; }
            public boolean debug() { return false; }
            public boolean strict() { return true; }
View Full Code Here


    this.ascConfiguration = ascConfiguration;
    this.nameMappings = mappings;
    this.processComments = processComments;
   
    mimeTypes = new String[]{MimeMappings.MXML};
    asc = new As3Compiler(new As3Configuration()
    {
            public boolean optimize() { return true; }
            public boolean verboseStacktraces() { return false; }
            public boolean debug() { return false; }
            public boolean strict() { return ascConfiguration.strict(); }
View Full Code Here

    this.ascConfiguration = ascConfiguration;
    this.nameMappings = mappings;
    this.processComments = processComments;
   
    mimeTypes = new String[]{MimeMappings.MXML};
    asc = new As3Compiler(new As3Configuration()
    {
            public boolean optimize() { return true; }
            public boolean verboseStacktraces() { return false; }
            public boolean debug() { return false; }
            public boolean strict() { return ascConfiguration.strict(); }
View Full Code Here

    ContextStatics.useVerboseErrors = false;
   
    qNameTable = new QNameMap<Source>(300);
    multiNames = new HashMap<MultiName, QName>(1024);
    Context cx = new Context(perCompileData);
    emitter = new BytecodeEmitter(cx, null, false, false);
    cx.setEmitter(emitter);
    typeAnalyzer = new TypeAnalyzer(this);
   
    rbNames = new HashMap<String, QName[]>();
    rbNameTable = new HashMap<String, Source>();
View Full Code Here

            public ObjectList<ConfigVar> getDefine() { return null; }
            public boolean keepEmbedMetadata() { return false; }
        });

        generatedDir = (compilerConfig.keepGeneratedActionScript() ? compilerConfig.getGeneratedDirectory() : null);
        addCompilerExtension(new EmbedExtension(transcoders, generatedDir, compilerConfig.showDeprecationWarnings()));
        format = I18nUtils.getTranslationFormat(compilerConfig);
        locales = compilerConfig.getLocales();
    }
View Full Code Here

        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

        {
            // SignatureExtension was already initialized in flex2.tools.WebTierAPI.getCompilers()
            asc.addCompilerExtension(SignatureExtension.getInstance());
        }
        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());
View Full Code Here

            public ObjectList<ConfigVar> getDefine() { return null; }
            public boolean keepEmbedMetadata() { return false; }
        });

        generatedDir = (compilerConfig.keepGeneratedActionScript() ? compilerConfig.getGeneratedDirectory() : null);
        addCompilerExtension(new EmbedExtension(transcoders, generatedDir, compilerConfig.showDeprecationWarnings()));
        format = I18nUtils.getTranslationFormat(compilerConfig);
        locales = compilerConfig.getLocales();
    }
View Full Code Here

    }
    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,
View Full Code Here

        {
            // SignatureExtension was already initialized in flex2.tools.WebTierAPI.getCompilers()
            asc.addCompilerExtension(SignatureExtension.getInstance());
        }
        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());
View Full Code Here

TOP

Related Classes of flex2.compiler.as3.reflect.TypeTable

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.