|
|
@ -1,14 +1,8 @@
|
|
|
|
/** @import { AST } from '#compiler' */
|
|
|
|
/** @import { AST } from '#compiler' */
|
|
|
|
/** @import { Statement } from 'estree' */
|
|
|
|
|
|
|
|
/** @import { ComponentContext, ComponentServerTransformState } from '../types.js' */
|
|
|
|
/** @import { ComponentContext, ComponentServerTransformState } from '../types.js' */
|
|
|
|
import { clean_nodes, infer_namespace } from '../../utils.js';
|
|
|
|
import { clean_nodes, infer_namespace } from '../../utils.js';
|
|
|
|
import * as b from '#compiler/builders';
|
|
|
|
import * as b from '#compiler/builders';
|
|
|
|
import {
|
|
|
|
import { empty_comment, process_children, build_template } from './shared/utils.js';
|
|
|
|
empty_comment,
|
|
|
|
|
|
|
|
process_children,
|
|
|
|
|
|
|
|
build_template,
|
|
|
|
|
|
|
|
call_child_payload
|
|
|
|
|
|
|
|
} from './shared/utils.js';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @param {AST.Fragment} node
|
|
|
|
* @param {AST.Fragment} node
|
|
|
|