}
private List<CssToken> execScan(String css, boolean debug) throws Exception {
exceptions.clear();
final CssTokenList tokens = new CssTokenList();
CssScanner lexer = new CssScanner(new StringReader(css), CssLocation.NO_SID, new ErrorListener(), new CssTokenConsumer() {
public void add(CssToken token) {
tokens.add(token);
}
});
lexer.scan();