|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor com.google.gwt.thirdparty.common.css.compiler.passes.EliminateConditionalNodes com.google.gwt.resources.gss.ExtendedEliminateConditionalNodes
public class ExtendedEliminateConditionalNodes
A compiler pass that eliminates the conditional blocks for which the boolean expression does not evaluate to true.
This compiler pass does not deal with conditional nodes that need to be evaluated at runtime.
Constructor Summary | |
---|---|
ExtendedEliminateConditionalNodes(com.google.gwt.thirdparty.common.css.compiler.ast.MutatingVisitController visitController,
java.util.Set<java.lang.String> trueConditions,
java.util.Set<com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode> runtimeConditionalNodes)
|
Method Summary | |
---|---|
boolean |
enterConditionalBlock(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode block)
|
void |
runPass()
|
Methods inherited from class com.google.gwt.thirdparty.common.css.compiler.ast.DefaultTreeVisitor |
---|
enterArgumentNode, enterAttributeSelector, enterBlock, enterClassSelector, enterCombinator, enterComponent, enterCompositeValueNode, enterCompositeValueNodeOperator, enterConditionalRule, enterDeclaration, enterDeclarationBlock, enterDefinition, enterFontFace, 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, 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 |
Constructor Detail |
---|
public ExtendedEliminateConditionalNodes(com.google.gwt.thirdparty.common.css.compiler.ast.MutatingVisitController visitController, java.util.Set<java.lang.String> trueConditions, java.util.Set<com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode> runtimeConditionalNodes)
Method Detail |
---|
public boolean enterConditionalBlock(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode block)
enterConditionalBlock
in interface com.google.gwt.thirdparty.common.css.compiler.ast.CssTreeVisitor
enterConditionalBlock
in class com.google.gwt.thirdparty.common.css.compiler.passes.EliminateConditionalNodes
public void runPass()
runPass
in interface com.google.gwt.thirdparty.common.css.compiler.ast.CssCompilerPass
runPass
in class com.google.gwt.thirdparty.common.css.compiler.passes.EliminateConditionalNodes
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |