public class DefCollectorVisitor extends CssVisitor
UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
DefCollectorVisitor(boolean lenient,
TreeLogger treeLogger) |
Modifier and Type | Method and Description |
---|---|
List<CssDef> |
getConstantNodes() |
Map<String,String> |
getDefMapping() |
boolean |
visit(CssDef x,
Context ctx) |
boolean |
visit(CssEval x,
Context ctx) |
boolean |
visit(CssUrl x,
Context ctx) |
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
public DefCollectorVisitor(boolean lenient, TreeLogger treeLogger)
public boolean visit(CssEval x, Context ctx)
visit
in class CssVisitor
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssDef x, Context ctx)
visit
in class CssVisitor
x
- the node being visitedctx
- the context for the visitpublic boolean visit(CssUrl x, Context ctx)
visit
in class CssVisitor
x
- the node being visitedctx
- the context for the visitCopyright © 2018. All rights reserved.