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

Function genCompoundExpression

packages/compiler-core/src/codegen.ts:771–783  ·  view source on GitHub ↗
(
  node: CompoundExpressionNode,
  context: CodegenContext,
)

Source from the content-addressed store, hash-verified

769}
770
771function genCompoundExpression(
772 node: CompoundExpressionNode,
773 context: CodegenContext,
774) {
775 for (let i = 0; i < node.children!.length; i++) {
776 const child = node.children![i]
777 if (isString(child)) {
778 context.push(child, NewlineType.Unknown)
779 } else {
780 genNode(child, context)
781 }
782 }
783}
784
785function genExpressionAsPropertyKey(
786 node: ExpressionNode,

Callers 2

genNodeFunction · 0.85

Calls 3

isStringFunction · 0.90
genNodeFunction · 0.85
pushMethod · 0.65

Tested by

no test coverage detected