MCPcopy Create free account
hub / github.com/cschanck/single-file-java / parseTrail

Method parseTrail

src/main/java/org/sfj/PegLegParser.java:315–319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313 }
314
315 public List<String> parseTrail() {
316 List<String> ret = frame.stream().filter(Objects::nonNull).map(s -> s.name).collect(toList());
317 Collections.reverse(ret);
318 return ret;
319 }
320
321 /**
322 * The last rule's matched literal.

Callers

nothing calls this directly

Calls 2

mapMethod · 0.80
reverseMethod · 0.80

Tested by

no test coverage detected