addIfCondition() — vue Function Reference
Architecture documentation for the addIfCondition() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD b65ea7e3_9ebe_bd4b_239f_5933a2978e29["addIfCondition()"] 320ee0f4_351d_a6b2_1c1c_f0f6f42fb987["index.ts"] b65ea7e3_9ebe_bd4b_239f_5933a2978e29 -->|defined in| 320ee0f4_351d_a6b2_1c1c_f0f6f42fb987 e259ff52_42a6_4f54_59b8_e6bf86822027["parse()"] e259ff52_42a6_4f54_59b8_e6bf86822027 -->|calls| b65ea7e3_9ebe_bd4b_239f_5933a2978e29 4f6c2ee8_2eba_72b6_6eac_1da03cd06187["processIf()"] 4f6c2ee8_2eba_72b6_6eac_1da03cd06187 -->|calls| b65ea7e3_9ebe_bd4b_239f_5933a2978e29 c4a8d310_d6a7_9547_ac2d_d9c02e047c9f["processIfConditions()"] c4a8d310_d6a7_9547_ac2d_d9c02e047c9f -->|calls| b65ea7e3_9ebe_bd4b_239f_5933a2978e29 style b65ea7e3_9ebe_bd4b_239f_5933a2978e29 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
Defined In
Called By
Source
Frequently Asked Questions
What does addIfCondition() do?
addIfCondition() is a function in the vue codebase, defined in src/compiler/parser/index.ts.
Where is addIfCondition() defined?
addIfCondition() is defined in src/compiler/parser/index.ts at line 601.
What calls addIfCondition()?
addIfCondition() is called by 3 function(s): parse, processIf, processIfConditions.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free