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

Method resolve

www/js/_hyperscript.js:5289–5297  ·  view source on GitHub ↗
(ctx, { exprs })

Source from the content-addressed store, hash-verified

5287 return new _StyleLiteral(stringParts, exprs);
5288 }
5289 resolve(ctx, { exprs }) {
5290 var rv = "";
5291 const stringParts = this.stringParts;
5292 stringParts.forEach(function(part, idx) {
5293 rv += part;
5294 if (idx in exprs) rv += exprs[idx];
5295 });
5296 return rv;
5297 }
5298 };
5299
5300 // src/parsetree/expressions/postfix.js

Callers

nothing calls this directly

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected