isCallOf() — vue Function Reference
Architecture documentation for the isCallOf() function in compileScript.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 65dd2fc2_3f14_bf7a_311d_99f9d039a8a7["isCallOf()"] af57cd20_c4ce_0877_c02c_52056ca04d4a["compileScript()"] af57cd20_c4ce_0877_c02c_52056ca04d4a -->|calls| 65dd2fc2_3f14_bf7a_311d_99f9d039a8a7 4816b617_49b6_86ec_ba60_1b6ac824a31a["walkDeclaration()"] 4816b617_49b6_86ec_ba60_1b6ac824a31a -->|calls| 65dd2fc2_3f14_bf7a_311d_99f9d039a8a7 88e9f5e4_bd74_6987_a9a2_2217c1e15c8d["canNeverBeRef()"] 88e9f5e4_bd74_6987_a9a2_2217c1e15c8d -->|calls| 65dd2fc2_3f14_bf7a_311d_99f9d039a8a7 style 65dd2fc2_3f14_bf7a_311d_99f9d039a8a7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/compiler-sfc/src/compileScript.ts lines 1616–1628
function isCallOf(
node: Node | null | undefined,
test: string | ((id: string) => boolean)
): node is CallExpression {
return !!(
node &&
node.type === 'CallExpression' &&
node.callee.type === 'Identifier' &&
(typeof test === 'string'
? node.callee.name === test
: test(node.callee.name))
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does isCallOf() do?
isCallOf() is a function in the vue codebase.
What calls isCallOf()?
isCallOf() is called by 3 function(s): canNeverBeRef, compileScript, walkDeclaration.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free