/* user method */
/* for standalone use */
public final List parseText() throws IOException {
List tokens = new ArrayList();
CSSTextToken token;
for (String kind = primGetNextToken(); kind != null; kind = primGetNextToken()) {
token = new CSSTextToken();
token.kind = kind;
token.start = yychar;
token.length = yylength();
token.image = yytext();
tokens.add(token);