MCPcopy Create free account
hub / github.com/atas76/openengine / expectToken

Method expectToken

src/main/java/org/ttn/parser/ParserUtil.java:335–339  ·  view source on GitHub ↗
(String token, String currentToken)

Source from the content-addressed store, hash-verified

333 }
334
335 private static void expectToken(String token, String currentToken) throws ParserException {
336 if (!token.equals(currentToken)) {
337 throw new ParserException("Expected: " + token);
338 }
339 }
340}

Callers 4

parseActionParametersMethod · 0.95
parseTimeMethod · 0.95
parseDirectiveMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected