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

Method defineStateContext

src/main/java/org/fgn/parser/Parser.java:114–120  ·  view source on GitHub ↗
(State state, String description)

Source from the content-addressed store, hash-verified

112 }
113
114 private void defineStateContext(State state, String description) {
115 if (StateContext.hasEntity(description)) {
116 state.setContext(StateContext.getEntity(description));
117 } else {
118 state.setSpace(Coordinates.getEntity(description));
119 }
120 }
121
122 private void parseStateOut(Statement statement) throws ParserException {
123

Callers 1

parseStateOutMethod · 0.95

Calls 5

hasEntityMethod · 0.95
getEntityMethod · 0.95
getEntityMethod · 0.95
setSpaceMethod · 0.80
setContextMethod · 0.45

Tested by

no test coverage detected