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

Method pop

package/svelte/compiler.js:23183–23196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23181 this.stack.push({ current: current2, literal: literal2 });
23182 }
23183 pop() {
23184 this.literal.quasis.push({
23185 type: "TemplateElement",
23186 value: { raw: this.current.value, cooked: null },
23187 tail: true
23188 });
23189 const popped = this.stack.pop();
23190 const last = this.stack[this.stack.length - 1];
23191 if (last) {
23192 this.literal = last.literal;
23193 this.current = last.current;
23194 }
23195 return popped.literal;
23196 }
23197 render(nodes, options) {
23198 nodes.forEach((node2) => {
23199 const handler = handlers$1[node2.type];

Callers 15

stopMethod · 0.80
compiler.jsFile · 0.80
levenshteinFunction · 0.80
tagFunction · 0.80
read_contextFunction · 0.80
trim_whitespaceFunction · 0.80
mustacheFunction · 0.80
get_style_valueFunction · 0.80
buildSourceMapTreeFunction · 0.80
AwaitBlock$1Function · 0.80
EachBlock$1Function · 0.80
Element$1Function · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected