Class TemplateCompactPrintingVisitor<T>

  • Type Parameters:
    T - type of chunk id objects
    All Implemented Interfaces:
    AtRuleHandler, CssTreeVisitor

    public class TemplateCompactPrintingVisitor<T>
    extends CompactPrintingVisitor
    Printer for templates, which outputs GSS with holes to be filled for references. In addition, the declaration boundaries are explicitly noted, so that a declaration can be removed if it ends up empty.

    This pass can only be used if MapChunkAwareNodesToChunk pass has been run before. Otherwise this pass won't work.