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;
}