(State state)
| 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)) { |
no test coverage detected