public class CssPrinter
extends com.google.gwt.thirdparty.common.css.compiler.passes.CompactPrinter
String
that can be evaluated as a Java expression.
For example, the following GSS code
Constructor and Description |
---|
CssPrinter(com.google.gwt.thirdparty.common.css.compiler.ast.CssNode node) |
CssPrinter(com.google.gwt.thirdparty.common.css.compiler.ast.CssTree tree) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendValueNode(com.google.gwt.thirdparty.common.css.compiler.ast.CssValueNode node) |
boolean |
enterConditionalBlock(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode node) |
boolean |
enterConditionalRule(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalRuleNode node) |
boolean |
enterTree(com.google.gwt.thirdparty.common.css.compiler.ast.CssRootNode root) |
String |
getCompactPrintedString() |
void |
leaveConditionalBlock(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode block) |
void |
leaveConditionalRule(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalRuleNode node) |
void |
leaveTree(com.google.gwt.thirdparty.common.css.compiler.ast.CssRootNode root) |
void |
runPass() |
enterArgumentNode, enterAttributeSelector, enterBlock, enterClassSelector, enterCombinator, enterCompositeValueNodeOperator, enterDeclaration, enterDeclarationBlock, enterDefinition, enterFontFace, enterFunctionNode, enterIdSelector, enterImportRule, enterKey, enterKeyframesRule, enterMediaRule, enterMediaTypeListDelimiter, enterPageRule, enterPageSelector, enterPseudoClass, enterPseudoElement, enterSelector, enterUnknownAtRule, enterValueNode, leaveCombinator, leaveCompositeValueNode, leaveDeclaration, leaveDeclarationBlock, leaveFunctionNode, leaveImportRule, leaveKey, leaveKeyBlock, leaveKeyframesRule, leaveMediaRule, leavePseudoClass, leaveSelector, leaveSelectorBlock, leaveUnknownAtRule, leaveValueNode, printCompactly, printCompactly
enter, getOutputBuffer, leave, resetBuffer
enterComponent, enterCompositeValueNode, enterForLoop, enterImportBlock, enterKeyBlock, enterKeyframeRuleset, enterMixin, enterMixinDefinition, enterPropertyValue, enterProvideNode, enterRequireNode, enterRuleset, enterSelectorBlock, leaveArgumentNode, leaveAttributeSelector, leaveBlock, leaveClassSelector, leaveComponent, leaveCompositeValueNodeOperator, leaveDefinition, leaveFontFace, leaveForLoop, leaveIdSelector, leaveImportBlock, leaveKeyframeRuleset, leaveMediaTypeListDelimiter, leaveMixin, leaveMixinDefinition, leavePageRule, leavePageSelector, leavePropertyValue, leaveProvideNode, leavePseudoElement, leaveRequireNode, leaveRuleset, visit
public CssPrinter(com.google.gwt.thirdparty.common.css.compiler.ast.CssTree tree)
public CssPrinter(com.google.gwt.thirdparty.common.css.compiler.ast.CssNode node)
public boolean enterTree(com.google.gwt.thirdparty.common.css.compiler.ast.CssRootNode root)
enterTree
in interface com.google.gwt.thirdparty.common.css.compiler.ast.CssTreeVisitor
enterTree
in class com.google.gwt.thirdparty.common.css.compiler.passes.UniformVisitor
public String getCompactPrintedString()
getCompactPrintedString
in class com.google.gwt.thirdparty.common.css.compiler.passes.CompactPrinter
public void leaveTree(com.google.gwt.thirdparty.common.css.compiler.ast.CssRootNode root)
leaveTree
in interface com.google.gwt.thirdparty.common.css.compiler.ast.CssTreeVisitor
leaveTree
in class com.google.gwt.thirdparty.common.css.compiler.passes.UniformVisitor
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.CompactPrinter
public boolean enterConditionalBlock(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode node)
enterConditionalBlock
in interface com.google.gwt.thirdparty.common.css.compiler.ast.CssTreeVisitor
enterConditionalBlock
in class com.google.gwt.thirdparty.common.css.compiler.passes.CompactPrinter
public void leaveConditionalBlock(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalBlockNode block)
leaveConditionalBlock
in interface com.google.gwt.thirdparty.common.css.compiler.ast.CssTreeVisitor
leaveConditionalBlock
in class com.google.gwt.thirdparty.common.css.compiler.passes.UniformVisitor
public boolean enterConditionalRule(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalRuleNode node)
enterConditionalRule
in interface com.google.gwt.thirdparty.common.css.compiler.ast.AtRuleHandler
enterConditionalRule
in class com.google.gwt.thirdparty.common.css.compiler.passes.UniformVisitor
public void leaveConditionalRule(com.google.gwt.thirdparty.common.css.compiler.ast.CssConditionalRuleNode node)
leaveConditionalRule
in interface com.google.gwt.thirdparty.common.css.compiler.ast.AtRuleHandler
leaveConditionalRule
in class com.google.gwt.thirdparty.common.css.compiler.passes.UniformVisitor
protected void appendValueNode(com.google.gwt.thirdparty.common.css.compiler.ast.CssValueNode node)
appendValueNode
in class com.google.gwt.thirdparty.common.css.compiler.passes.CompactPrinter
Copyright © 2018. All rights reserved.