assertSingleLex("super", Parser.SUPER);
}
public void testTypeTokens() throws Exception {
String in = "Map<? extends A & B, List<String>>";
Lexer lexer = new JFlexLexer(new StringReader(in));
assertLex(Parser.IDENTIFIER, "Map", lexer);
assertLex(Parser.LESSTHAN, lexer);
assertLex(Parser.QUERY, lexer);
assertLex(Parser.EXTENDS, lexer);
assertLex(Parser.IDENTIFIER, "A", lexer);