Home / Function/ checkFor() — vue Function Reference

checkFor() — vue Function Reference

Architecture documentation for the checkFor() function in error-detector.ts from the vue codebase.

Function typescript VueCore VDom calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  4dd3d0a2_6743_9355_edda_f6ccca131e23["checkFor()"]
  082d4686_2778_e118_a80c_c4ffc89177dc["error-detector.ts"]
  4dd3d0a2_6743_9355_edda_f6ccca131e23 -->|defined in| 082d4686_2778_e118_a80c_c4ffc89177dc
  90b3f438_ac24_92d6_a5de_89063016d3c3["checkNode()"]
  90b3f438_ac24_92d6_a5de_89063016d3c3 -->|calls| 4dd3d0a2_6743_9355_edda_f6ccca131e23
  16af5098_ed3e_ff8b_033a_83bfef03c28a["checkExpression()"]
  4dd3d0a2_6743_9355_edda_f6ccca131e23 -->|calls| 16af5098_ed3e_ff8b_033a_83bfef03c28a
  aef43d84_2347_b8b6_abef_4d23ef6c6729["checkIdentifier()"]
  4dd3d0a2_6743_9355_edda_f6ccca131e23 -->|calls| aef43d84_2347_b8b6_abef_4d23ef6c6729
  style 4dd3d0a2_6743_9355_edda_f6ccca131e23 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

Frequently Asked Questions

What does checkFor() do?
checkFor() is a function in the vue codebase, defined in src/compiler/error-detector.ts.
Where is checkFor() defined?
checkFor() is defined in src/compiler/error-detector.ts at line 85.
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