Class MarkRemovableRulesetNodesForChunk<T>

    • Constructor Detail

      • MarkRemovableRulesetNodesForChunk

        public MarkRemovableRulesetNodesForChunk​(T chunk,
                                                 CssTree tree,
                                                 boolean skipping)
    • Method Detail

      • canModifyRuleset

        public boolean canModifyRuleset​(CssRulesetNode ruleset)
        Description copied from class: SkippingTreeVisitor
        This method checks if the given ruleset is safe to be changed.
        Overrides:
        canModifyRuleset in class SkippingTreeVisitor
        Returns:
        false if the ruleset is not safe to be modified (because it contains any of the pre-defined property names when skipping is turned on), true otherwise.