(List<String> lines)
| 32 | } |
| 33 | |
| 34 | public List<MatchDataElement> parse(List<String> lines) throws ParserException { |
| 35 | return lines.stream().map(line -> { |
| 36 | try { |
| 37 | return parseTokenList(new Scanner(line).scan()); |
| 38 | } catch (ScannerException | ParserException e) { |
| 39 | throw new RuntimeException(e); |
| 40 | } |
| 41 | }).collect(Collectors.toList()); |
| 42 | } |
| 43 | } |