select = new Selector(Selector.Type.SPRITE);
break;
default:
jj_la1[4] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case DOT:
case SHARP:
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case SHARP:
jj_consume_token(SHARP);
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case IDENTIFIER:
t = jj_consume_token(IDENTIFIER);
select.setId(t.image);
break;
case STRING:
t = jj_consume_token(STRING);
select.setId(t.image.substring(1, t.image.length() - 1));
break;
case REAL:
t = jj_consume_token(REAL);
select.setId(t.image.toString());
break;
default:
jj_la1[5] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
case DOT:
jj_consume_token(DOT);
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case IDENTIFIER:
t = jj_consume_token(IDENTIFIER);
select.setClass(t.image);
break;
case CLICKED:
t = jj_consume_token(CLICKED);
select.setClass("clicked");
break;
case SELECTED:
t = jj_consume_token(SELECTED);
select.setClass("selected");
break;
case STRING:
t = jj_consume_token(STRING);
select.setClass(t.image.substring(1, t.image.length() - 1));
break;
default:
jj_la1[6] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
default:
jj_la1[7] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
default:
jj_la1[8] = jj_gen;
;
}
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case COLON:
jj_consume_token(COLON);
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case CLICKED:
jj_consume_token(CLICKED);
select.setPseudoClass("clicked");
break;
case SELECTED:
jj_consume_token(SELECTED);
select.setPseudoClass("selected");
break;
case STRING:
t = jj_consume_token(STRING);
select.setPseudoClass(t.image.substring(1, t.image.length() - 1));
break;
case IDENTIFIER:
t = jj_consume_token(IDENTIFIER);
select.setPseudoClass(t.image);
break;
default:
jj_la1[9] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
default:
jj_la1[10] = jj_gen;
;