Class SkippingTreeVisitor

    • Constructor Detail

      • SkippingTreeVisitor

        public SkippingTreeVisitor​(boolean skip)
        Constructor of a skipping tree visitor which sets the skipping property.
        Parameters:
        skip -
    • Method Detail

      • canModifyRuleset

        public boolean canModifyRuleset​(CssRulesetNode ruleset)
        This method checks if the given ruleset is safe to be changed.
        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.
      • isSkipping

        public boolean isSkipping()