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

Function detectErrors

static/vuejs/vue.common.js:8869–8875  ·  view source on GitHub ↗
(ast)

Source from the content-addressed store, hash-verified

8867
8868// detect problematic expressions in a template
8869function detectErrors (ast) {
8870 var errors = [];
8871 if (ast) {
8872 checkNode(ast, errors);
8873 }
8874 return errors
8875}
8876
8877function checkNode (node, errors) {
8878 if (node.type === 1) {

Callers 1

compileFunction · 0.70

Calls 1

checkNodeFunction · 0.70

Tested by

no test coverage detected