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

Function detectErrors

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

Source from the content-addressed store, hash-verified

8861
8862// detect problematic expressions in a template
8863function detectErrors (ast) {
8864 var errors = [];
8865 if (ast) {
8866 checkNode(ast, errors);
8867 }
8868 return errors
8869}
8870
8871function checkNode (node, errors) {
8872 if (node.type === 1) {

Callers 1

compileFunction · 0.70

Calls 1

checkNodeFunction · 0.70

Tested by

no test coverage detected