checkEvent() — vue Function Reference
Architecture documentation for the checkEvent() function in error-detector.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD d8ead83e_af00_558d_c3d1_7e7216188655["checkEvent()"] 03e52bf5_d4b7_7913_0f75_08ec830fda42["checkNode()"] 03e52bf5_d4b7_7913_0f75_08ec830fda42 -->|calls| d8ead83e_af00_558d_c3d1_7e7216188655 a07ee25d_c145_0205_5ce7_3eecf3bdb2c1["checkExpression()"] d8ead83e_af00_558d_c3d1_7e7216188655 -->|calls| a07ee25d_c145_0205_5ce7_3eecf3bdb2c1 style d8ead83e_af00_558d_c3d1_7e7216188655 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/error-detector.ts lines 72–83
function checkEvent(exp: string, text: string, warn: Function, range?: Range) {
const stripped = exp.replace(stripStringRE, '')
const keywordMatch: any = stripped.match(unaryOperatorsRE)
if (keywordMatch && stripped.charAt(keywordMatch.index - 1) !== '$') {
warn(
`avoid using JavaScript unary operator as property name: ` +
`"${keywordMatch[0]}" in expression ${text.trim()}`,
range
)
}
checkExpression(exp, text, warn, range)
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does checkEvent() do?
checkEvent() is a function in the vue codebase.
What does checkEvent() call?
checkEvent() calls 1 function(s): checkExpression.
What calls checkEvent()?
checkEvent() 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