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

Method error

src/main/java/org/sfj/PegLegParser.java:590–592  ·  view source on GitHub ↗
(String message)

Source from the content-addressed store, hash-verified

588 public PegLegParser<V> get() { return this; }
589
590 protected IllegalArgumentException error(String message) {
591 return new IllegalArgumentException("[" + source.getState().line + ":" + source.getState().linePos + "] " + message);
592 }
593
594 /**
595 * Generate a terminal rule for a specific character.

Callers 3

charRangeMethod · 0.95
timesOfMethod · 0.95
matchAsNumberMethod · 0.45

Calls 1

getStateMethod · 0.80

Tested by

no test coverage detected