MCPcopy Create free account
hub / github.com/dynjs/dynjs / evaluate

Method evaluate

src/main/java/org/dynjs/runtime/Runner.java:109–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 }
108
109 public Object evaluate() {
110 try {
111 return executionContext().eval(program(), this.directEval);
112 } catch (SyntaxError e) {
113 throw new ThrowException(executionContext(), executionContext().createSyntaxError(e.getMessage()));
114 } catch (ParserException e) {
115 throw new ThrowException(executionContext(), e);
116 }
117 }
118
119
120

Callers

nothing calls this directly

Calls 5

executionContextMethod · 0.95
programMethod · 0.95
createSyntaxErrorMethod · 0.65
evalMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected