MCPcopy Create free account
hub / github.com/MMmaXingXing/mini-vue / createVNodeCall

Function createVNodeCall

code/src/compiler-core/src/ast.ts:12–21  ·  view source on GitHub ↗
(context, tag, props, children)

Source from the content-addressed store, hash-verified

10}
11
12export const createVNodeCall = (context, tag, props, children) => {
13 context.helper(CREATE_ELEMENT_VNODE);
14
15 return {
16 type: NodeTypes.ELEMENT,
17 tag: tag,
18 props: props,
19 children: children
20 };
21};

Callers 1

transformElementFunction · 0.90

Calls 1

helperMethod · 0.65

Tested by

no test coverage detected