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

Function baseCompile

static/vuejs/vue.common.js:8945–8957  ·  view source on GitHub ↗
(
  template,
  options
)

Source from the content-addressed store, hash-verified

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

Callers 1

compileFunction · 0.70

Calls 3

parseFunction · 0.70
optimizeFunction · 0.70
generateFunction · 0.70

Tested by

no test coverage detected