genRuntimeEmits() — vue Function Reference
Architecture documentation for the genRuntimeEmits() function in compileScript.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 6919dfe3_2de7_3b3d_77c5_56b0bbddaca8["genRuntimeEmits()"] b9f12a63_b611_1b00_0717_3ff21d7ce156["compileScript.ts"] 6919dfe3_2de7_3b3d_77c5_56b0bbddaca8 -->|defined in| b9f12a63_b611_1b00_0717_3ff21d7ce156 6195696d_b4e9_b5d7_3dd5_1966a03d855f["compileScript()"] 6195696d_b4e9_b5d7_3dd5_1966a03d855f -->|calls| 6919dfe3_2de7_3b3d_77c5_56b0bbddaca8 style 6919dfe3_2de7_3b3d_77c5_56b0bbddaca8 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
Defined In
Called By
Source
Frequently Asked Questions
What does genRuntimeEmits() do?
genRuntimeEmits() is a function in the vue codebase, defined in packages/compiler-sfc/src/compileScript.ts.
Where is genRuntimeEmits() defined?
genRuntimeEmits() is defined in packages/compiler-sfc/src/compileScript.ts at line 1608.
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