lexer.addDescender("Parentheses", new Descender("(", ")", new Type<Token>("Parentheses"), null));
lexer.addDescender("Brackets", new Descender("[", "]", new Type<Token>("Brackets"), null));
lexer.ignore("\n");
String test = "10.0 100 (3.0 300\n) [51 5 6] ()";
try {
System.out.println(test + " -> " + lexer.lex(test));
}
catch (LexerException e) {
System.out.println(test + " -> " + e.getMessage());
e.printStackTrace();
}