Class ElseNodeCreator
java.lang.Object
com.google.gwt.resources.css.ast.CssVisitor
com.google.gwt.resources.converter.ExtendedCssVisitor
com.google.gwt.resources.converter.ElseNodeCreator
The original Css parser doesn't create specific nodes for
@elif
and @else
at-rules. That makes their conversion more difficult, especially for the @else
at-rule.
The main goal of this visitor is to create specific nodes for these two at-rules in
order to ease their conversion.-
Field Summary
Fields inherited from class com.google.gwt.resources.css.ast.CssVisitor
UNMODIFIABLE_CONTEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
visit
(com.google.gwt.resources.css.ast.CssIf cssIf, com.google.gwt.resources.css.ast.Context ctx) Methods inherited from class com.google.gwt.resources.converter.ExtendedCssVisitor
endVisit, endVisit, visit, visit
Methods inherited from class com.google.gwt.resources.css.ast.CssVisitor
accept, accept, acceptWithInsertRemove, doAccept, doAccept, doAcceptWithInsertRemove, doTraverse, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
ElseNodeCreator
public ElseNodeCreator()
-
-
Method Details
-
visit
public boolean visit(com.google.gwt.resources.css.ast.CssIf cssIf, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
visit
in classcom.google.gwt.resources.css.ast.CssVisitor
- Parameters:
cssIf
- the node being visitedctx
- the context for the visit
-