Home / Function/ checkFor() — vue Function Reference

checkFor() — vue Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8f94cca1_b281_78f0_327e_1f6ace002464["checkFor()"]
  2d4ea1fb_ca3b_f5fc_5e5f_57270428b446["error-detector.ts"]
  8f94cca1_b281_78f0_327e_1f6ace002464 -->|defined in| 2d4ea1fb_ca3b_f5fc_5e5f_57270428b446
  5fc4a59d_bcb9_be4d_570f_a7dcdb348719["checkNode()"]
  5fc4a59d_bcb9_be4d_570f_a7dcdb348719 -->|calls| 8f94cca1_b281_78f0_327e_1f6ace002464
  2127ea1b_a77c_06dc_8c70_cd0ff98cb1ca["checkExpression()"]
  8f94cca1_b281_78f0_327e_1f6ace002464 -->|calls| 2127ea1b_a77c_06dc_8c70_cd0ff98cb1ca
  86b38454_4b84_11b8_7ce9_e6c685355683["checkIdentifier()"]
  8f94cca1_b281_78f0_327e_1f6ace002464 -->|calls| 86b38454_4b84_11b8_7ce9_e6c685355683
  style 8f94cca1_b281_78f0_327e_1f6ace002464 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