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

Method evaluate

src/main/java/org/dynjs/runtime/DynJS.java:97–99  ·  view source on GitHub ↗
(String source)

Source from the content-addressed store, hash-verified

95 }
96
97 public Object evaluate(String source) {
98 return newRunner().withContext( this.defaultExecutionContext ).withSource(source).evaluate();
99 }
100
101 public Object evaluate(InputStream in) {
102 return newRunner().withContext( this.defaultExecutionContext ).withSource(new InputStreamReader(in)).evaluate();

Callers 2

testOutputStreamMethod · 0.95
loadKernelMethod · 0.95

Calls 6

newRunnerMethod · 0.95
appendMethod · 0.80
evaluateMethod · 0.65
withSourceMethod · 0.45
withContextMethod · 0.45
toStringMethod · 0.45

Tested by 1

testOutputStreamMethod · 0.76