is_variable_declaration() — svelte Function Reference
Architecture documentation for the is_variable_declaration() function in CallExpression.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD af91dfb8_8408_6f01_ce5c_fb5099917fd1["is_variable_declaration()"] 3f0209c9_7af2_542f_1c9c_3be0eb046971["CallExpression.js"] af91dfb8_8408_6f01_ce5c_fb5099917fd1 -->|defined in| 3f0209c9_7af2_542f_1c9c_3be0eb046971 f847bd70_7e16_ed37_5fde_c34cd0ce1d43["CallExpression()"] f847bd70_7e16_ed37_5fde_c34cd0ce1d43 -->|calls| af91dfb8_8408_6f01_ce5c_fb5099917fd1 68a38b3b_6f0f_ed43_404f_3d00302677a2["get_parent()"] af91dfb8_8408_6f01_ce5c_fb5099917fd1 -->|calls| 68a38b3b_6f0f_ed43_404f_3d00302677a2 style af91dfb8_8408_6f01_ce5c_fb5099917fd1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/phases/2-analyze/visitors/CallExpression.js lines 308–310
function is_variable_declaration(parent, context) {
return parent.type === 'VariableDeclarator' && get_parent(context.path, -3).type !== 'ConstTag';
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does is_variable_declaration() do?
is_variable_declaration() is a function in the svelte codebase, defined in packages/svelte/src/compiler/phases/2-analyze/visitors/CallExpression.js.
Where is is_variable_declaration() defined?
is_variable_declaration() is defined in packages/svelte/src/compiler/phases/2-analyze/visitors/CallExpression.js at line 308.
What does is_variable_declaration() call?
is_variable_declaration() calls 1 function(s): get_parent.
What calls is_variable_declaration()?
is_variable_declaration() is called by 1 function(s): CallExpression.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free