public class ElseNodeCreator extends ExtendedCssVisitor
@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.UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
ElseNodeCreator() |
Modifier and Type | Method and Description |
---|---|
boolean |
visit(CssIf cssIf,
Context ctx) |
endVisit, endVisit, visit, visit
accept, accept, acceptWithInsertRemove, doAccept, doAccept, doAcceptWithInsertRemove, doTraverse, 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
public boolean visit(CssIf cssIf, Context ctx)
visit
in class CssVisitor
cssIf
- the node being visitedctx
- the context for the visitCopyright © 2018. All rights reserved.