Package com.google.gwt.resources.gss
Class ValidateRuntimeConditionalNode
java.lang.Object
com.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor
com.google.gwt.resources.gss.ValidateRuntimeConditionalNode
- 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 ValidateRuntimeConditionalNode
extends com.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor
implements com.google.gwt.thirdparty.common.css.compiler.ast.CssCompilerPass
Visitor that validates runtime conditional node.
Runtime conditional node shouldn't contain any constant definitions nor external at-rule.
-
Constructor Summary
ConstructorsConstructorDescriptionValidateRuntimeConditionalNode(com.google.gwt.thirdparty.common.css.compiler.ast.VisitController visitController, com.google.gwt.thirdparty.common.css.compiler.ast.ErrorManager errorManager, boolean lenient) -
Method Summary
Modifier and TypeMethodDescriptionbooleanenterConditionalRule(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalRuleNode node) booleanenterDefinition(com.google.gwt.thirdparty.common.css.compiler.ast.CssDefinitionNode node) booleanenterUnknownAtRule(com.google.gwt.thirdparty.common.css.compiler.ast.CssUnknownAtRuleNode node) voidleaveConditionalRule(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalRuleNode node) voidrunPass()Methods inherited from class com.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor
enterArgumentNode, enterAttributeSelector, enterBlock, enterClassSelector, enterCombinator, enterComponent, enterCompositeValueNode, enterCompositeValueNodeOperator, enterConditionalBlock, enterDeclaration, enterDeclarationBlock, 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, enterValueNode, leaveArgumentNode, leaveAttributeSelector, leaveBlock, leaveClassSelector, leaveCombinator, leaveComponent, leaveCompositeValueNode, leaveCompositeValueNodeOperator, leaveConditionalBlock, 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
-
Constructor Details
-
ValidateRuntimeConditionalNode
public ValidateRuntimeConditionalNode(com.google.gwt.thirdparty.common.css.compiler.ast.VisitController visitController, com.google.gwt.thirdparty.common.css.compiler.ast.ErrorManager errorManager, boolean lenient)
-
-
Method Details
-
enterDefinition
public boolean enterDefinition(com.google.gwt.thirdparty.common.css.compiler.ast.CssDefinitionNode node) - Specified by:
enterDefinitionin interfacecom.google.gwt.thirdparty.common.css.compiler.ast.AtRuleHandler- Overrides:
enterDefinitionin classcom.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor
-
enterUnknownAtRule
public boolean enterUnknownAtRule(com.google.gwt.thirdparty.common.css.compiler.ast.CssUnknownAtRuleNode node) - Specified by:
enterUnknownAtRulein interfacecom.google.gwt.thirdparty.common.css.compiler.ast.AtRuleHandler- Overrides:
enterUnknownAtRulein classcom.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor
-
enterConditionalRule
public boolean enterConditionalRule(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalRuleNode node) - Specified by:
enterConditionalRulein interfacecom.google.gwt.thirdparty.common.css.compiler.ast.AtRuleHandler- Overrides:
enterConditionalRulein classcom.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor
-
leaveConditionalRule
public void leaveConditionalRule(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalRuleNode node) - Specified by:
leaveConditionalRulein interfacecom.google.gwt.thirdparty.common.css.compiler.ast.AtRuleHandler- Overrides:
leaveConditionalRulein classcom.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor
-
runPass
public void runPass()- Specified by:
runPassin interfacecom.google.gwt.thirdparty.common.css.compiler.ast.CssCompilerPass
-