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

Function createObjectExpression

packages/compiler-core/src/ast.ts:662–671  ·  view source on GitHub ↗
(
  properties: ObjectExpression['properties'],
  loc: SourceLocation = locStub,
)

Source from the content-addressed store, hash-verified

660}
661
662export function createObjectExpression(
663 properties: ObjectExpression['properties'],
664 loc: SourceLocation = locStub,
665): ObjectExpression {
666 return {
667 type: NodeTypes.JS_OBJECT_EXPRESSION,
668 loc,
669 properties,
670 }
671}
672
673export function createObjectProperty(
674 key: Property['key'] | string,

Callers 10

injectPropFunction · 0.90
buildSlotsFunction · 0.90
buildDynamicSlotFunction · 0.90
vFor.tsFile · 0.90
pushMergeArgFunction · 0.90
buildPropsFunction · 0.90
buildDirectiveArgsFunction · 0.90
codegen.spec.tsFile · 0.90
ssrTransformShowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected