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

Function checkFor

static/vuejs/vue.js:8908–8913  ·  view source on GitHub ↗
(node, text, errors)

Source from the content-addressed store, hash-verified

8906}
8907
8908function checkFor (node, text, errors) {
8909 checkExpression(node.for || '', text, errors);
8910 checkIdentifier(node.alias, 'v-for alias', text, errors);
8911 checkIdentifier(node.iterator1, 'v-for iterator', text, errors);
8912 checkIdentifier(node.iterator2, 'v-for iterator', text, errors);
8913}
8914
8915function checkIdentifier (ident, type, text, errors) {
8916 if (typeof ident === 'string' && !identRE.test(ident)) {

Callers 1

checkNodeFunction · 0.70

Calls 2

checkExpressionFunction · 0.70
checkIdentifierFunction · 0.70

Tested by

no test coverage detected