MCPcopy Create free account
hub / github.com/ygs-code/vue / genText

Function genText

vue.js:15221–15225  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

15219
15220 //返回虚拟dom vonde渲染调用的函数
15221 function genText(text) {
15222 return ("_v(" + (text.type === 2
15223 ? text.expression // no need for () because already wrapped in _s()
15224 : transformSpecialNewlines(JSON.stringify(text.text))) + ")")
15225 }
15226
15227 //返回虚拟dom vonde渲染调用的函数
15228 function genComment(comment) {

Callers 1

genNodeFunction · 0.85

Calls 1

transformSpecialNewlinesFunction · 0.85

Tested by

no test coverage detected