MCPcopy
hub / github.com/sveltejs/svelte / pop

Method pop

packages/svelte/src/compiler/phases/1-parse/index.js:304–310  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

302 }
303
304 pop() {
305 const fragment = this.fragments.pop();
306 if (fragment?.metadata.transparent && fragment.nodes.some((n) => n.type === 'DeclarationTag')) {
307 fragment.metadata.transparent = false;
308 }
309 return this.stack.pop();
310 }
311
312 /**
313 * @template {AST.Fragment['nodes'][number]} T

Callers 15

AttributeFunction · 0.80
StyleDirectiveFunction · 0.80
pop_ignoreFunction · 0.80
callFunction · 0.80
get_relative_pathFunction · 0.80
get_basenameFunction · 0.80
migrateFunction · 0.80
clean_nodesFunction · 0.80
pop_elementMethod · 0.80
get_component_nameFunction · 0.80
SvelteSelfFunction · 0.80

Calls

no outgoing calls

Tested by 1

testFunction · 0.64