checkFunctionParameterExpression() — vue Function Reference
Architecture documentation for the checkFunctionParameterExpression() function in error-detector.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD d761885e_96e2_8e55_a712_895439c2c4e5["checkFunctionParameterExpression()"] 2d4ea1fb_ca3b_f5fc_5e5f_57270428b446["error-detector.ts"] d761885e_96e2_8e55_a712_895439c2c4e5 -->|defined in| 2d4ea1fb_ca3b_f5fc_5e5f_57270428b446 5fc4a59d_bcb9_be4d_570f_a7dcdb348719["checkNode()"] 5fc4a59d_bcb9_be4d_570f_a7dcdb348719 -->|calls| d761885e_96e2_8e55_a712_895439c2c4e5 style d761885e_96e2_8e55_a712_895439c2c4e5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/error-detector.ts lines 142–158
function checkFunctionParameterExpression(
exp: string,
text: string,
warn: Function,
range?: Range
) {
try {
new Function(exp, '')
} catch (e: any) {
warn(
`invalid function parameter expression: ${e.message} in\n\n` +
` ${exp}\n\n` +
` Raw expression: ${text.trim()}\n`,
range
)
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does checkFunctionParameterExpression() do?
checkFunctionParameterExpression() is a function in the vue codebase, defined in src/compiler/error-detector.ts.
Where is checkFunctionParameterExpression() defined?
checkFunctionParameterExpression() is defined in src/compiler/error-detector.ts at line 142.
What calls checkFunctionParameterExpression()?
checkFunctionParameterExpression() is called by 1 function(s): checkNode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free