Parses the String message and generate the RecordRoute List Object.
RecordRouteList recordRouteList = new RecordRouteList();
if (debug) dbg_enter("RecordRouteParser.parse");
try {
this.lexer.match(TokenTypes.RECORD_ROUTE);
this.lexer.SPorHT();
this.lexer.match(':");
this.lexer.SPorHT();
while (true) {
RecordRouteHeader recordRoute = new RecordRouteHeader();
super.parse(recordRoute);
recordRouteList.add(recordRoute);
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 recordRouteList;
} finally {
if (debug) dbg_leave("RecordRouteParser.parse");
}