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

Method confirmToken

src/main/java/org/fgn/parser/Parser.java:24–26  ·  view source on GitHub ↗
(int tokenIndex, String token)

Source from the content-addressed store, hash-verified

22 }
23
24 private void confirmToken(int tokenIndex, String token) throws ParserException {
25 if (!(token.equals(tokens.get(tokenIndex)))) throw new ParserException("'" + token + "'" + " expected");
26 }
27
28 private int index = 0;
29

Callers 4

parseMethod · 0.95
parseParameterMethod · 0.95
parseStateOutMethod · 0.95
checkTeamSeparatorMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected