Package org.apache.flex.compiler.internal.css.codegen

Examples of org.apache.flex.compiler.internal.css.codegen.CSSReducer


        final CSSCompilationSession session = styleNode.getFileNode().getCSSCompilationSession();
        if (session == null)
            return;

        final CSSReducer reducer = new CSSReducer(flexProject, css, this.emitter, session, false);
        final CSSEmitter emitter = new CSSEmitter(reducer);
        try
        {
            emitter.burm(css);
        }
        catch (Exception e)
        {
            problems.add(new CSSCodeGenProblem(e));
        }

        getProblems().addAll(problems);
        if (!hasStyleTags) // don't duplicate traits if there's a second style block
            reducer.visitClassTraits(ctraits);
        cinitInsns.addAll(reducer.getClassInitializationInstructions());
        hasStyleTags = true;
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.internal.css.codegen.CSSReducer

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.