Class UndefinedConstantVisitor
java.lang.Object
com.google.gwt.resources.css.ast.CssVisitor
com.google.gwt.resources.converter.UndefinedConstantVisitor
public class UndefinedConstantVisitor
extends com.google.gwt.resources.css.ast.CssVisitor
Converts upper case strings used in properties to lowercase if they are not defined
with a proper @def statement.
-
Field Summary
Fields inherited from class com.google.gwt.resources.css.ast.CssVisitor
UNMODIFIABLE_CONTEXT
-
Constructor Summary
ConstructorDescriptionUndefinedConstantVisitor
(Set<String> gssContantNames, boolean lenient, TreeLogger treeLogger) -
Method Summary
Modifier and TypeMethodDescriptionboolean
visit
(com.google.gwt.resources.css.ast.CssRule 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, endVisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
UndefinedConstantVisitor
public UndefinedConstantVisitor(Set<String> gssContantNames, boolean lenient, TreeLogger treeLogger)
-
-
Method Details
-
visit
public boolean visit(com.google.gwt.resources.css.ast.CssRule x, com.google.gwt.resources.css.ast.Context ctx) - Overrides:
visit
in classcom.google.gwt.resources.css.ast.CssVisitor
- Parameters:
x
- the node being visitedctx
- the context for the visit
-