public class ClassRenamer extends CssVisitor
UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
ClassRenamer(TreeLogger logger,
Map<String,Map<JMethod,String>> classReplacementsWithPrefix,
boolean strict,
Set<String> externalClasses) |
Modifier and Type | Method and Description |
---|---|
void |
endVisit(CssDef x,
Context ctx) |
void |
endVisit(CssSelector x,
Context ctx) |
void |
endVisit(CssStylesheet x,
Context ctx) |
Map<JMethod,String> |
getReplacements()
Reports the replacements that were actually performed by this visitor.
|
accept, accept, acceptWithInsertRemove, doAccept, doAccept, doAcceptWithInsertRemove, doTraverse, 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
public void endVisit(CssDef x, Context ctx)
endVisit
in class CssVisitor
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssSelector x, Context ctx)
endVisit
in class CssVisitor
x
- the node being visitedctx
- the context for the visitpublic void endVisit(CssStylesheet x, Context ctx)
endVisit
in class CssVisitor
x
- the node being visitedctx
- the context for the visitCopyright © 2018. All rights reserved.