Class PermutationsCollector

java.lang.Object
com.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor
com.google.gwt.resources.gss.ExtendedConditionalNodeVisitor
com.google.gwt.resources.gss.PermutationsCollector
All Implemented Interfaces:
com.google.gwt.thirdparty.common.css.compiler.ast.AtRuleHandler, com.google.gwt.thirdparty.common.css.compiler.ast.CssCompilerPass, com.google.gwt.thirdparty.common.css.compiler.ast.CssTreeVisitor

public class PermutationsCollector extends ExtendedConditionalNodeVisitor implements com.google.gwt.thirdparty.common.css.compiler.ast.CssCompilerPass
Visitor that collects the different permutation axis defined in a gss file.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final Pattern
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PermutationsCollector(com.google.gwt.thirdparty.common.css.compiler.ast.MutatingVisitController delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enterBooleanExpression(com.google.gwt.thirdparty.common.css.compiler.ast.CssBooleanExpressionNode booleanExpressionNode)
     
     
    void
     

    Methods inherited from class com.google.gwt.resources.gss.ExtendedConditionalNodeVisitor

    enterConditionalRule

    Methods inherited from class com.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor

    enterArgumentNode, enterAttributeSelector, enterBlock, enterClassSelector, enterCombinator, enterComponent, enterCompositeValueNode, enterCompositeValueNodeOperator, enterConditionalBlock, enterDeclaration, enterDeclarationBlock, enterDefinition, enterFontFace, enterForLoop, enterFunctionNode, enterIdSelector, enterImportBlock, enterImportRule, enterKey, enterKeyBlock, enterKeyframeRuleset, enterKeyframesRule, enterMediaRule, enterMediaTypeListDelimiter, enterMixin, enterMixinDefinition, enterPageRule, enterPageSelector, enterPropertyValue, enterProvideNode, enterPseudoClass, enterPseudoElement, enterRequireNode, enterRuleset, enterSelector, enterSelectorBlock, enterTree, enterUnknownAtRule, enterValueNode, leaveArgumentNode, leaveAttributeSelector, leaveBlock, leaveClassSelector, leaveCombinator, leaveComponent, leaveCompositeValueNode, leaveCompositeValueNodeOperator, leaveConditionalBlock, leaveConditionalRule, leaveDeclaration, leaveDeclarationBlock, leaveDefinition, leaveFontFace, leaveForLoop, leaveFunctionNode, leaveIdSelector, leaveImportBlock, leaveImportRule, leaveKey, leaveKeyBlock, leaveKeyframeRuleset, leaveKeyframesRule, leaveMediaRule, leaveMediaTypeListDelimiter, leaveMixin, leaveMixinDefinition, leavePageRule, leavePageSelector, leavePropertyValue, leaveProvideNode, leavePseudoClass, leavePseudoElement, leaveRequireNode, leaveRuleset, leaveSelector, leaveSelectorBlock, leaveTree, leaveUnknownAtRule, leaveValueNode, visit

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • IS_FUNCTION

      static final Pattern IS_FUNCTION
  • Constructor Details

    • PermutationsCollector

      public PermutationsCollector(com.google.gwt.thirdparty.common.css.compiler.ast.MutatingVisitController delegate)
  • Method Details

    • enterBooleanExpression

      public void enterBooleanExpression(com.google.gwt.thirdparty.common.css.compiler.ast.CssBooleanExpressionNode booleanExpressionNode)
      Overrides:
      enterBooleanExpression in class ExtendedConditionalNodeVisitor
    • getPermutationAxes

      public List<String> getPermutationAxes()
    • runPass

      public void runPass()
      Specified by:
      runPass in interface com.google.gwt.thirdparty.common.css.compiler.ast.CssCompilerPass