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

Function baseCompile

static/vuejs/vue.js:8939–8951  ·  view source on GitHub ↗
(
  template,
  options
)

Source from the content-addressed store, hash-verified

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

Callers 1

compileFunction · 0.70

Calls 3

parseFunction · 0.70
optimizeFunction · 0.70
generateFunction · 0.70

Tested by

no test coverage detected