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

Method withSource

src/main/java/org/dynjs/runtime/Compiler.java:50–54  ·  view source on GitHub ↗
(String source)

Source from the content-addressed store, hash-verified

48 }
49
50 public Compiler withSource(String source) {
51 this.source = new StringReader(source);
52 this.shouldClose = true;
53 return this;
54 }
55
56 public Compiler withSource(Reader source) {
57 this.source = source;

Callers 1

compileMethod · 0.95

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected