MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / error

Method error

chapter02/src/main/java/com/seaofnodes/simple/Parser.java:165–167  ·  view source on GitHub ↗
(String errorMessage)

Source from the content-addressed store, hash-verified

163 // Require an exact match
164 private void require(String syntax) { require(null, syntax); }
165 private Node require(Node n, String syntax) {
166 if (match(syntax)) return n;
167 throw errorSyntax(syntax);
168 }
169
170 RuntimeException errorSyntax(String syntax) {

Callers 3

parseMethod · 0.95
errorSyntaxMethod · 0.95
parseNumberMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected