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

Method resolve

www/js/_hyperscript-max.js:5288–5296  ·  view source on GitHub ↗
(ctx, { exprs })

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected