Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MMmaXingXing/mini-vue
/ createRoot
Function
createRoot
code/src/compiler-core/src/parse.ts:156–162 ·
view source on GitHub ↗
(children)
Source
from the content-addressed store, hash-verified
154
};
155
156
const
createRoot = (children) => {
157
return
{
158
type
: NodeTypes.ROOT,
159
children,
160
helpers: []
161
};
162
};
163
164
const
createParseContext = (content: string) => {
165
return
{
Callers
1
baseParse
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected