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

Method sourceFor

src/parsetree/base.js:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 sourceFor() {
30 return this.programSource.substring(this.startToken.start, this.endToken.end);
31 }
32
33 lineFor() {
34 return this.programSource.split("\n")[this.startToken.line - 1];

Callers 9

evaluateNoPromiseMethod · 0.45
nullCheckMethod · 0.45
beepValueToConsoleMethod · 0.45
hdb.jsFile · 0.45
resolveMethod · 0.45
resolveMethod · 0.45
sloppyContainsMethod · 0.45
sloppyMatchesMethod · 0.45
resolveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected