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

Function is_ignored

packages/svelte/src/compiler/state.js:131–133  ·  view source on GitHub ↗
(node, code)

Source from the content-addressed store, hash-verified

129 * @returns
130 */
131export function is_ignored(node, code) {
132 return dev && !!ignore_map.get(node)?.some((codes) => codes.has(code));
133}
134
135/**
136 * Call this to reset the compiler state. Should be called before each compilation.

Callers 11

HtmlTagFunction · 0.90
AwaitExpressionFunction · 0.90
ForOfStatementFunction · 0.90
CallExpressionFunction · 0.90
VariableDeclarationFunction · 0.90
BindDirectiveFunction · 0.90
build_componentFunction · 0.90
build_attribute_effectFunction · 0.90
validate_mutationFunction · 0.90
CallExpressionFunction · 0.90

Calls 2

getMethod · 0.45
hasMethod · 0.45

Tested by

no test coverage detected