|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.resources.css.ast.CssVisitor com.google.gwt.resources.converter.DefCollectorVisitor
public class DefCollectorVisitor
GSS requires that constants are defined in upper case. This visitor will collect all existing constants, create the GSS compatible name of each constant and returns a mapping of all original names with the new generated name.
This visitor lists also all constant nodes.
Field Summary |
---|
Fields inherited from class com.google.gwt.resources.css.ast.CssVisitor |
---|
UNMODIFIABLE_CONTEXT |
Constructor Summary | |
---|---|
DefCollectorVisitor(boolean lenient,
TreeLogger treeLogger)
|
Method Summary | |
---|---|
java.util.List<com.google.gwt.resources.css.ast.CssDef> |
getConstantNodes()
|
java.util.Map<java.lang.String,java.lang.String> |
getDefMapping()
|
boolean |
visit(com.google.gwt.resources.css.ast.CssDef x,
com.google.gwt.resources.css.ast.Context ctx)
|
boolean |
visit(com.google.gwt.resources.css.ast.CssEval x,
com.google.gwt.resources.css.ast.Context ctx)
|
boolean |
visit(com.google.gwt.resources.css.ast.CssUrl x,
com.google.gwt.resources.css.ast.Context ctx)
|
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, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefCollectorVisitor(boolean lenient, TreeLogger treeLogger)
Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.String> getDefMapping()
public java.util.List<com.google.gwt.resources.css.ast.CssDef> getConstantNodes()
public boolean visit(com.google.gwt.resources.css.ast.CssEval x, com.google.gwt.resources.css.ast.Context ctx)
visit
in class com.google.gwt.resources.css.ast.CssVisitor
public boolean visit(com.google.gwt.resources.css.ast.CssDef x, com.google.gwt.resources.css.ast.Context ctx)
visit
in class com.google.gwt.resources.css.ast.CssVisitor
public boolean visit(com.google.gwt.resources.css.ast.CssUrl x, com.google.gwt.resources.css.ast.Context ctx)
visit
in class com.google.gwt.resources.css.ast.CssVisitor
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |