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

Function genInterpolation

packages/compiler-core/src/codegen.ts:763–769  ·  view source on GitHub ↗
(node: InterpolationNode, context: CodegenContext)

Source from the content-addressed store, hash-verified

761}
762
763function genInterpolation(node: InterpolationNode, context: CodegenContext) {
764 const { push, helper, pure } = context
765 if (pure) push(PURE_ANNOTATION)
766 push(`${helper(TO_DISPLAY_STRING)}(`)
767 genNode(node.content, context)
768 push(`)`)
769}
770
771function genCompoundExpression(
772 node: CompoundExpressionNode,

Callers 1

genNodeFunction · 0.85

Calls 3

genNodeFunction · 0.85
pushFunction · 0.70
helperFunction · 0.70

Tested by

no test coverage detected