MCPcopy
hub / github.com/vuejs/core / createCallExpression

Function createCallExpression

packages/compiler-core/src/ast.ts:728–739  ·  view source on GitHub ↗
(
  callee: T,
  args: CallExpression['arguments'] = [],
  loc: SourceLocation = locStub,
)

Source from the content-addressed store, hash-verified

726 : CallExpression
727
728export function createCallExpression<T extends CallExpression['callee']>(
729 callee: T,
730 args: CallExpression['arguments'] = [],
731 loc: SourceLocation = locStub,
732): InferCodegenNodeType<T> {
733 return {
734 type: NodeTypes.JS_CALL_EXPRESSION,
735 loc,
736 callee,
737 arguments: args,
738 } as InferCodegenNodeType<T>
739}
740
741export function createFunctionExpression(
742 params: FunctionExpression['params'],

Callers 15

transformVTextFunction · 0.90
transformOnFunction · 0.90
stringifyCurrentChunkFunction · 0.90
injectPropFunction · 0.90
transformSlotOutletFunction · 0.90
transformMemoFunction · 0.90
buildSlotsFunction · 0.90
transformTextFunction · 0.90
vFor.tsFile · 0.90
resolveComponentTypeFunction · 0.90
buildPropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected