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

Method parseParameter

src/main/java/org/fgn/parser/Parser.java:106–112  ·  view source on GitHub ↗
(State state)

Source from the content-addressed store, hash-verified

104 }
105
106 private void parseParameter(State state) throws ParserException {
107 if (OPEN_PARENTHESIS.equals(lookaheadToken())) {
108 state.setContext(StateContext.getEntity(tokens.get(++index)));
109 confirmToken(++index, CLOSE_PARENTHESIS);
110 index++;
111 }
112 }
113
114 private void defineStateContext(State state, String description) {
115 if (StateContext.hasEntity(description)) {

Callers 1

parseStateInMethod · 0.95

Calls 5

lookaheadTokenMethod · 0.95
getEntityMethod · 0.95
confirmTokenMethod · 0.95
equalsMethod · 0.45
setContextMethod · 0.45

Tested by

no test coverage detected