(new SubstitutionReplacer(logger, context, collector.getSubstitutions()))
.accept(sheet);
// Evaluate @if statements based on deferred binding properties
(new IfEvaluator(logger,
context.getGeneratorContext().getPropertyOracle())).accept(sheet);
// Rename css .class selectors. We look for all @external declarations in
// the stylesheet and then compute the per-instance replacements.
ExternalClassesCollector externalClasses = new ExternalClassesCollector();