Class CollectProvideNamespaces

  • All Implemented Interfaces:
    AtRuleHandler, CssCompilerPass, CssTreeVisitor

    public final class CollectProvideNamespaces
    extends DefaultTreeVisitor
    implements CssCompilerPass
    A compiler pass to help find missing @require lines for def constant references and mixins. This pass simply collects namespaces that correpond to constant definitions and mixins. Also see the CheckMissingRequire pass that is used in conjunction with this one.

    NOTE: The maps in this class can only be used within the same set of pass runs.