|
|
@ -309,8 +309,7 @@ export function analyze_module(source, options) {
|
|
|
|
title: null,
|
|
|
|
title: null,
|
|
|
|
boundary: null,
|
|
|
|
boundary: null,
|
|
|
|
parent_element: null,
|
|
|
|
parent_element: null,
|
|
|
|
reactive_statement: null,
|
|
|
|
reactive_statement: null
|
|
|
|
async_hoist_boundary: null
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
visitors
|
|
|
|
visitors
|
|
|
|
);
|
|
|
|
);
|
|
|
@ -709,8 +708,7 @@ export function analyze_component(root, source, options) {
|
|
|
|
expression: null,
|
|
|
|
expression: null,
|
|
|
|
state_fields: new Map(),
|
|
|
|
state_fields: new Map(),
|
|
|
|
function_depth: scope.function_depth,
|
|
|
|
function_depth: scope.function_depth,
|
|
|
|
reactive_statement: null,
|
|
|
|
reactive_statement: null
|
|
|
|
async_hoist_boundary: ast === template.ast ? ast : null
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
walk(/** @type {AST.SvelteNode} */ (ast), state, visitors);
|
|
|
|
walk(/** @type {AST.SvelteNode} */ (ast), state, visitors);
|
|
|
@ -779,8 +777,7 @@ export function analyze_component(root, source, options) {
|
|
|
|
component_slots: new Set(),
|
|
|
|
component_slots: new Set(),
|
|
|
|
expression: null,
|
|
|
|
expression: null,
|
|
|
|
state_fields: new Map(),
|
|
|
|
state_fields: new Map(),
|
|
|
|
function_depth: scope.function_depth,
|
|
|
|
function_depth: scope.function_depth
|
|
|
|
async_hoist_boundary: ast === template.ast ? ast : null
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
walk(/** @type {AST.SvelteNode} */ (ast), state, visitors);
|
|
|
|
walk(/** @type {AST.SvelteNode} */ (ast), state, visitors);
|
|
|
|