Class GssGenerationVisitor
java.lang.Object
com.google.gwt.resources.css.ast.CssVisitor
com.google.gwt.resources.converter.ExtendedCssVisitor
com.google.gwt.resources.converter.GssGenerationVisitor
The GssGenerationVisitor turns a css tree into a gss string.
- 
Field SummaryFields inherited from class com.google.gwt.resources.css.ast.CssVisitorUNMODIFIABLE_CONTEXT
- 
Constructor SummaryConstructorsConstructorDescriptionGssGenerationVisitor(com.google.gwt.dev.util.TextOutput out, Map<String, String> cssToGssConstantMapping, boolean lenient, TreeLogger treeLogger, com.google.gwt.thirdparty.guava.common.base.Predicate<String> simpleBooleanConditionPredicate) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidendVisit(com.google.gwt.resources.css.ast.CssFontFace x, com.google.gwt.resources.css.ast.Context ctx) voidendVisit(com.google.gwt.resources.css.ast.CssIf x, com.google.gwt.resources.css.ast.Context ctx) voidendVisit(com.google.gwt.resources.css.ast.CssMediaRule x, com.google.gwt.resources.css.ast.Context ctx) voidendVisit(com.google.gwt.resources.css.ast.CssNoFlip x, com.google.gwt.resources.css.ast.Context ctx) voidendVisit(com.google.gwt.resources.css.ast.CssPageRule x, com.google.gwt.resources.css.ast.Context ctx) voidendVisit(com.google.gwt.resources.css.ast.CssRule x, com.google.gwt.resources.css.ast.Context ctx) voidendVisit(com.google.gwt.resources.css.ast.CssSprite x, com.google.gwt.resources.css.ast.Context ctx) voidendVisit(com.google.gwt.resources.css.ast.CssUnknownAtRule x, com.google.gwt.resources.css.ast.Context ctx) booleanbooleanbooleanvisit(com.google.gwt.resources.css.ast.CssCharset x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssDef x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssEval x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssExternalSelectors x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssFontFace x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssIf x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssMediaRule x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssNoFlip x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssPageRule x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssProperty x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssRule x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssSelector x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssSprite x, com.google.gwt.resources.css.ast.Context ctx) booleanvisit(com.google.gwt.resources.css.ast.CssUrl x, com.google.gwt.resources.css.ast.Context ctx) Methods inherited from class com.google.gwt.resources.converter.ExtendedCssVisitorendVisit, endVisitMethods inherited from class com.google.gwt.resources.css.ast.CssVisitoraccept, accept, acceptWithInsertRemove, doAccept, doAccept, doAcceptWithInsertRemove, doTraverse, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit
- 
Constructor Details- 
GssGenerationVisitorpublic GssGenerationVisitor(com.google.gwt.dev.util.TextOutput out, Map<String, String> cssToGssConstantMapping, boolean lenient, TreeLogger treeLogger, com.google.gwt.thirdparty.guava.common.base.Predicate<String> simpleBooleanConditionPredicate) 
 
- 
- 
Method Details- 
getContent
- 
endVisitpublic void endVisit(com.google.gwt.resources.css.ast.CssFontFace x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- endVisitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
endVisitpublic void endVisit(com.google.gwt.resources.css.ast.CssMediaRule x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- endVisitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
endVisitpublic void endVisit(com.google.gwt.resources.css.ast.CssPageRule x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- endVisitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
endVisitpublic void endVisit(com.google.gwt.resources.css.ast.CssUnknownAtRule x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- endVisitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssSprite x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
endVisitpublic void endVisit(com.google.gwt.resources.css.ast.CssSprite x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- endVisitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssDef x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssEval x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssUrl x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssRule x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
endVisitpublic void endVisit(com.google.gwt.resources.css.ast.CssRule x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- endVisitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssNoFlip x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssExternalSelectors x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssCharset x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
endVisitpublic void endVisit(com.google.gwt.resources.css.ast.CssNoFlip x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- endVisitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssProperty x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visit- Overrides:
- visitin class- ExtendedCssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visit- Overrides:
- visitin class- ExtendedCssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
endVisitpublic void endVisit(com.google.gwt.resources.css.ast.CssIf x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- endVisitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssIf x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssFontFace x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssMediaRule x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssPageRule x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
- 
visitpublic boolean visit(com.google.gwt.resources.css.ast.CssSelector x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
- visitin class- com.google.gwt.resources.css.ast.CssVisitor
- Parameters:
- x- the node being visited
- ctx- the context for the visit
 
 
-