Example usage for com.google.gwt.resources.css.ast CssDef getValues

List of usage examples for com.google.gwt.resources.css.ast CssDef getValues

Introduction

In this page you can find the example usage for com.google.gwt.resources.css.ast CssDef getValues.

Prototype

public List<Value> getValues() 

Source Link

Usage

From source file:org.tessell.generators.css.AbstractCssGenerator.java

License:Apache License

private void extractDefs(CssStylesheet sheet) {
    new CssVisitor() {
        @Override// w ww  . j ava 2 s .co  m
        public void endVisit(CssDef x, Context ctx) {
            if (x.getValues().size() > 0) {
                defs.put(x.getKey(), x.getValues().get(0));
            }
        }
    }.accept(sheet);
}