makeAttrsMap() — vue Function Reference
Architecture documentation for the makeAttrsMap() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 3af8c27f_159c_e73c_b83a_ffba0e1212fa["makeAttrsMap()"] c3257530_0ca9_f5ae_06ab_082337103cbe["createASTElement()"] c3257530_0ca9_f5ae_06ab_082337103cbe -->|calls| 3af8c27f_159c_e73c_b83a_ffba0e1212fa style 3af8c27f_159c_e73c_b83a_ffba0e1212fa 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
Called By
Source
Frequently Asked Questions
What does makeAttrsMap() do?
makeAttrsMap() is a function in the vue codebase.
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