this.input = input; discardMask = new BitSet();
discardMask.add(ttype);
discardMask = mask;
Token tok = input.nextToken(); while (tok != null && discardMask.member(tok.getType())) { tok = input.nextToken(); } return tok;