MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / sourceFor

Method sourceFor

www/js/ext/hdb.js:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 return all;
18 }
19 sourceFor() {
20 return this.programSource.substring(this.startToken.start, this.endToken.end);
21 }
22 lineFor() {
23 return this.programSource.split("\n")[this.startToken.line - 1];
24 }

Callers 1

hdb.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected