createASTElement() — vue Function Reference
Architecture documentation for the createASTElement() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD c3257530_0ca9_f5ae_06ab_082337103cbe["createASTElement()"] c27f0203_4eed_0348_4118_e8e105adc6ee["parse()"] c27f0203_4eed_0348_4118_e8e105adc6ee -->|calls| c3257530_0ca9_f5ae_06ab_082337103cbe a805e141_5683_4910_efc8_e49b792fbae3["processSlotContent()"] a805e141_5683_4910_efc8_e49b792fbae3 -->|calls| c3257530_0ca9_f5ae_06ab_082337103cbe b66fe03d_55e6_8df2_7bba_6549eca8bd96["cloneASTElement()"] b66fe03d_55e6_8df2_7bba_6549eca8bd96 -->|calls| c3257530_0ca9_f5ae_06ab_082337103cbe 3af8c27f_159c_e73c_b83a_ffba0e1212fa["makeAttrsMap()"] c3257530_0ca9_f5ae_06ab_082337103cbe -->|calls| 3af8c27f_159c_e73c_b83a_ffba0e1212fa style c3257530_0ca9_f5ae_06ab_082337103cbe fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/parser/index.ts lines 67–81
export function createASTElement(
tag: string,
attrs: Array<ASTAttr>,
parent: ASTElement | void
): ASTElement {
return {
type: 1,
tag,
attrsList: attrs,
attrsMap: makeAttrsMap(attrs),
rawAttrsMap: {},
parent,
children: []
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does createASTElement() do?
createASTElement() is a function in the vue codebase.
What does createASTElement() call?
createASTElement() calls 1 function(s): makeAttrsMap.
What calls createASTElement()?
createASTElement() is called by 3 function(s): cloneASTElement, parse, processSlotContent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free