MCPcopy
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
67const nonIdentifierRE = /^$|^\d|[^\$\w\xA0-\uFFFF]/
68export const isSimpleIdentifier = (name: string): boolean =>
69 !nonIdentifierRE.test(name)
70
71enum MemberExpLexState {
72 inMemberExp,

Callers 8

createExpFunction · 0.90
pushFunction · 0.90
genConditionalExpressionFunction · 0.90
processExpressionFunction · 0.90
transformModelFunction · 0.90
walkFunction · 0.85
hasScopeRefFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected