(String... options)
| 483 | } |
| 484 | |
| 485 | private Map.Entry<Map<String, String>, int[]> dictTable(String... options) { |
| 486 | HashSet<Integer> lengths = new HashSet<>(); |
| 487 | Map<String, String> table = new HashMap<>(); |
| 488 | for (String s : options) { |
| 489 | table.put(s.toUpperCase(), s); |
| 490 | lengths.add(s.length()); |
| 491 | } |
| 492 | return new AbstractMap.SimpleImmutableEntry<>(table, lengths.stream().mapToInt(i -> i).sorted().toArray()); |
| 493 | } |
| 494 | |
| 495 | private RuleReturn<V> eofRule() { |
| 496 | get().pushFrame("eof()"); |
no test coverage detected