addIfCondition() — vue Function Reference
Architecture documentation for the addIfCondition() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 06e12792_ae17_ac23_460b_7d8d7b5605d2["addIfCondition()"] c27f0203_4eed_0348_4118_e8e105adc6ee["parse()"] c27f0203_4eed_0348_4118_e8e105adc6ee -->|calls| 06e12792_ae17_ac23_460b_7d8d7b5605d2 05580dfb_8dc9_c1e0_3c40_eab5c17d0e80["processIf()"] 05580dfb_8dc9_c1e0_3c40_eab5c17d0e80 -->|calls| 06e12792_ae17_ac23_460b_7d8d7b5605d2 b0895ac7_be65_09b3_28ea_cc60452a3e8d["processIfConditions()"] b0895ac7_be65_09b3_28ea_cc60452a3e8d -->|calls| 06e12792_ae17_ac23_460b_7d8d7b5605d2 d35ad88b_7ad0_eb3d_d87a_8f404b67b1fb["preTransformNode()"] d35ad88b_7ad0_eb3d_d87a_8f404b67b1fb -->|calls| 06e12792_ae17_ac23_460b_7d8d7b5605d2 style 06e12792_ae17_ac23_460b_7d8d7b5605d2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/parser/index.ts lines 601–606
export function addIfCondition(el: ASTElement, condition: ASTIfCondition) {
if (!el.ifConditions) {
el.ifConditions = []
}
el.ifConditions.push(condition)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does addIfCondition() do?
addIfCondition() is a function in the vue codebase.
What calls addIfCondition()?
addIfCondition() is called by 4 function(s): parse, preTransformNode, processIf, processIfConditions.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free