Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ isSimpleIdentifier
Function
isSimpleIdentifier
packages/compiler-core/src/utils.ts:68–69 · packages/compiler-core/src/utils.ts::isSimpleIdentifier
(name: string)
Source
from the content-addressed store, hash-verified
66
67
const
nonIdentifierRE = /^$|^\d|[^\$\w\xA0-\uFFFF]/
68
export
const
isSimpleIdentifier = (name: string): boolean =>
69
!nonIdentifierRE.test(name)
70
71
enum MemberExpLexState {
72
inMemberExp,
Callers
8
createExp
Function · 0.90
push
Function · 0.90
genExpressionAsPropertyKey
Function · 0.90
genConditionalExpression
Function · 0.90
processExpression
Function · 0.90
transformModel
Function · 0.90
walk
Function · 0.85
hasScopeRef
Function · 0.85
Calls
1
test
Method · 0.80
Tested by
no test coverage detected