addRawAttr() — vue Function Reference
Architecture documentation for the addRawAttr() function in helpers.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD a2955388_4c3f_d572_3f8f_be0d96c39ed4["addRawAttr()"] d35ad88b_7ad0_eb3d_d87a_8f404b67b1fb["preTransformNode()"] d35ad88b_7ad0_eb3d_d87a_8f404b67b1fb -->|calls| a2955388_4c3f_d572_3f8f_be0d96c39ed4 96030d9b_6fc5_c5dd_8879_245007a0e6b2["rangeSetItem()"] a2955388_4c3f_d572_3f8f_be0d96c39ed4 -->|calls| 96030d9b_6fc5_c5dd_8879_245007a0e6b2 style a2955388_4c3f_d572_3f8f_be0d96c39ed4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/helpers.ts lines 48–56
export function addRawAttr(
el: ASTElement,
name: string,
value: any,
range?: Range
) {
el.attrsMap[name] = value
el.attrsList.push(rangeSetItem({ name, value }, range))
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does addRawAttr() do?
addRawAttr() is a function in the vue codebase.
What does addRawAttr() call?
addRawAttr() calls 1 function(s): rangeSetItem.
What calls addRawAttr()?
addRawAttr() is called by 1 function(s): preTransformNode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free