makeAttrsMap() — vue Function Reference
Architecture documentation for the makeAttrsMap() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD fd932aef_8e0a_5793_8b4a_ae12f815156c["makeAttrsMap()"] 101d3d34_ac07_228f_62b9_5d5ac4a0ea2e["index.ts"] fd932aef_8e0a_5793_8b4a_ae12f815156c -->|defined in| 101d3d34_ac07_228f_62b9_5d5ac4a0ea2e 4e75c3e7_0ca3_e8e1_4b44_838fc9982387["createASTElement()"] 4e75c3e7_0ca3_e8e1_4b44_838fc9982387 -->|calls| fd932aef_8e0a_5793_8b4a_ae12f815156c style fd932aef_8e0a_5793_8b4a_ae12f815156c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/parser/index.ts lines 944–953
function makeAttrsMap(attrs: Array<Record<string, any>>): Record<string, any> {
const map = {}
for (let i = 0, l = attrs.length; i < l; i++) {
if (__DEV__ && map[attrs[i].name] && !isIE && !isEdge) {
warn('duplicate attribute: ' + attrs[i].name, attrs[i])
}
map[attrs[i].name] = attrs[i].value
}
return map
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does makeAttrsMap() do?
makeAttrsMap() is a function in the vue codebase, defined in src/compiler/parser/index.ts.
Where is makeAttrsMap() defined?
makeAttrsMap() is defined in src/compiler/parser/index.ts at line 944.
What calls makeAttrsMap()?
makeAttrsMap() is called by 1 function(s): createASTElement.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free