MCPcopy Create free account
hub / github.com/TruthHun/BookStack / baseCompile

Function baseCompile

static/vuejs/vue.esm.js:8943–8955  ·  view source on GitHub ↗
(
  template,
  options
)

Source from the content-addressed store, hash-verified

8941/* */
8942
8943function baseCompile (
8944 template,
8945 options
8946) {
8947 var ast = parse(template.trim(), options);
8948 optimize(ast, options);
8949 var code = generate(ast, options);
8950 return {
8951 ast: ast,
8952 render: code.render,
8953 staticRenderFns: code.staticRenderFns
8954 }
8955}
8956
8957function makeFunction (code, errors) {
8958 try {

Callers 1

compileFunction · 0.70

Calls 3

parseFunction · 0.70
optimizeFunction · 0.70
generateFunction · 0.70

Tested by

no test coverage detected