genRuntimeEmits() — vue Function Reference
Architecture documentation for the genRuntimeEmits() function in compileScript.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 4dbd1f46_aaaa_281d_4001_5d79bdfe32ae["genRuntimeEmits()"] af57cd20_c4ce_0877_c02c_52056ca04d4a["compileScript()"] af57cd20_c4ce_0877_c02c_52056ca04d4a -->|calls| 4dbd1f46_aaaa_281d_4001_5d79bdfe32ae style 4dbd1f46_aaaa_281d_4001_5d79bdfe32ae fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/compiler-sfc/src/compileScript.ts lines 1608–1614
function genRuntimeEmits(emits: Set<string>) {
return emits.size
? `\n emits: [${Array.from(emits)
.map(p => JSON.stringify(p))
.join(', ')}],`
: ``
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does genRuntimeEmits() do?
genRuntimeEmits() is a function in the vue codebase.
What calls genRuntimeEmits()?
genRuntimeEmits() is called by 1 function(s): compileScript.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free