registerBinding() — vue Function Reference
Architecture documentation for the registerBinding() function in compileScript.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 15980fd6_fbc3_7a96_daca_3f054741f0e8["registerBinding()"] c9346cac_54e3_f6ca_68a7_03c6e82c9609["compileScript.ts"] 15980fd6_fbc3_7a96_daca_3f054741f0e8 -->|defined in| c9346cac_54e3_f6ca_68a7_03c6e82c9609 4dff3da5_c3f4_4303_7989_1d16ed3f091d["compileScript()"] 4dff3da5_c3f4_4303_7989_1d16ed3f091d -->|calls| 15980fd6_fbc3_7a96_daca_3f054741f0e8 3de0d66d_b49c_710a_a5dd_4aad647e8642["walkDeclaration()"] 3de0d66d_b49c_710a_a5dd_4aad647e8642 -->|calls| 15980fd6_fbc3_7a96_daca_3f054741f0e8 d804c097_af6f_a277_5941_3c14c48219ab["walkObjectPattern()"] d804c097_af6f_a277_5941_3c14c48219ab -->|calls| 15980fd6_fbc3_7a96_daca_3f054741f0e8 33d0b2df_a777_bd42_b608_b96585e579c0["walkPattern()"] 33d0b2df_a777_bd42_b608_b96585e579c0 -->|calls| 15980fd6_fbc3_7a96_daca_3f054741f0e8 style 15980fd6_fbc3_7a96_daca_3f054741f0e8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/compiler-sfc/src/compileScript.ts lines 1275–1281
function registerBinding(
bindings: Record<string, BindingTypes>,
node: Identifier,
type: BindingTypes
) {
bindings[node.name] = type
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does registerBinding() do?
registerBinding() is a function in the vue codebase, defined in packages/compiler-sfc/src/compileScript.ts.
Where is registerBinding() defined?
registerBinding() is defined in packages/compiler-sfc/src/compileScript.ts at line 1275.
What calls registerBinding()?
registerBinding() is called by 4 function(s): compileScript, walkDeclaration, walkObjectPattern, walkPattern.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free