checkFor() — vue Function Reference
Architecture documentation for the checkFor() function in error-detector.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD da6ee129_b19b_d0f1_26f1_e03a0847421e["checkFor()"] aaee210a_1630_b83a_6361_806f69707ec9["checkNode()"] aaee210a_1630_b83a_6361_806f69707ec9 -->|calls| da6ee129_b19b_d0f1_26f1_e03a0847421e b55383fd_0a74_e361_5034_d76e06d6bf2d["checkExpression()"] da6ee129_b19b_d0f1_26f1_e03a0847421e -->|calls| b55383fd_0a74_e361_5034_d76e06d6bf2d a1a91bd7_8c01_943a_1aa4_20a2c2c2b36a["checkIdentifier()"] da6ee129_b19b_d0f1_26f1_e03a0847421e -->|calls| a1a91bd7_8c01_943a_1aa4_20a2c2c2b36a style da6ee129_b19b_d0f1_26f1_e03a0847421e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/error-detector.ts lines 85–95
function checkFor(
node: ASTElement,
text: string,
warn: Function,
range?: Range
) {
checkExpression(node.for || '', text, warn, range)
checkIdentifier(node.alias, 'v-for alias', text, warn, range)
checkIdentifier(node.iterator1, 'v-for iterator', text, warn, range)
checkIdentifier(node.iterator2, 'v-for iterator', text, warn, range)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does checkFor() do?
checkFor() is a function in the vue codebase.
What does checkFor() call?
checkFor() calls 2 function(s): checkExpression, checkIdentifier.
What calls checkFor()?
checkFor() is called by 1 function(s): checkNode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free