MCPcopy
hub / github.com/livebud/bud / render_chunks

Method render_chunks

package/svelte/compiler.js:18575–18582  ·  view source on GitHub ↗
(block)

Source from the content-addressed store, hash-verified

18573 return rendered.reduce((lhs, rhs) => x`${lhs} + ${rhs}`);
18574 }
18575 render_chunks(block) {
18576 return this.node.chunks.map((chunk) => {
18577 if (chunk.type === "Text") {
18578 return string_literal(chunk.data);
18579 }
18580 return chunk.manipulate(block);
18581 });
18582 }
18583 stringify() {
18584 if (this.node.is_true)
18585 return "";

Callers 3

get_valueMethod · 0.80
get_class_name_textMethod · 0.80
get_render_statementMethod · 0.80

Calls 2

string_literalFunction · 0.85
manipulateMethod · 0.80

Tested by

no test coverage detected