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

Method execute

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

Source from the content-addressed store, hash-verified

91 // ----------------------------------------------------------------------
92
93 public Object execute(String source) {
94 return newRunner().withContext( this.defaultExecutionContext ).withSource(source).execute();
95 }
96
97 public Object evaluate(String source) {
98 return newRunner().withContext( this.defaultExecutionContext ).withSource(source).evaluate();

Callers

nothing calls this directly

Calls 4

newRunnerMethod · 0.95
executeMethod · 0.65
withSourceMethod · 0.45
withContextMethod · 0.45

Tested by

no test coverage detected