isCallOf() — vue Function Reference
Architecture documentation for the isCallOf() function in compileScript.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 001d4700_1435_f6f3_5057_66425a67ca75["isCallOf()"] c9346cac_54e3_f6ca_68a7_03c6e82c9609["compileScript.ts"] 001d4700_1435_f6f3_5057_66425a67ca75 -->|defined in| c9346cac_54e3_f6ca_68a7_03c6e82c9609 4dff3da5_c3f4_4303_7989_1d16ed3f091d["compileScript()"] 4dff3da5_c3f4_4303_7989_1d16ed3f091d -->|calls| 001d4700_1435_f6f3_5057_66425a67ca75 3de0d66d_b49c_710a_a5dd_4aad647e8642["walkDeclaration()"] 3de0d66d_b49c_710a_a5dd_4aad647e8642 -->|calls| 001d4700_1435_f6f3_5057_66425a67ca75 2f21a226_a78c_022a_011a_72b2ba77e9f0["canNeverBeRef()"] 2f21a226_a78c_022a_011a_72b2ba77e9f0 -->|calls| 001d4700_1435_f6f3_5057_66425a67ca75 style 001d4700_1435_f6f3_5057_66425a67ca75 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
Defined In
Source
Frequently Asked Questions
What does isCallOf() do?
isCallOf() is a function in the vue codebase, defined in packages/compiler-sfc/src/compileScript.ts.
Where is isCallOf() defined?
isCallOf() is defined in packages/compiler-sfc/src/compileScript.ts at line 1616.
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