Parses the String message and generate the Route List Object.
RouteList routeList = new RouteList();
if (debug) dbg_enter("parse");
try {
this.lexer.match(TokenTypes.ROUTE);
this.lexer.SPorHT();
this.lexer.match(':");
this.lexer.SPorHT();
while (true) {
RouteHeader route = new RouteHeader();
super.parse(route);
routeList.add(route);
this.lexer.SPorHT();
if (lexer.lookAhead(0) == ',") {
this.lexer.match(',");
this.lexer.SPorHT();
} else if (lexer.lookAhead(0) == '\n") break;
else throw createParseException("unexpected char");
}
return routeList;
} finally {
if (debug) dbg_leave("parse");
}