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

Method error

chapter01/src/main/java/com/seaofnodes/simple/Parser.java:121–123  ·  view source on GitHub ↗
(String errorMessage)

Source from the content-addressed store, hash-verified

119
120 RuntimeException errorSyntax(String syntax) {
121 return error("Syntax error, expected " + syntax + ": " + _lexer.getAnyNextToken());
122 }
123
124 static RuntimeException error(String errorMessage) {
125 return new RuntimeException(errorMessage);
126 }

Callers 4

parseMethod · 0.95
parsePrimaryMethod · 0.95
errorSyntaxMethod · 0.95
parseNumberMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected