MCPcopy Create free account
hub / github.com/microsoft/typescript-go / isLiteralPropertyName

Method isLiteralPropertyName

internal/parser/parser.go:6063–6065  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6061}
6062
6063func (p *Parser) isLiteralPropertyName() bool {
6064 return tokenIsIdentifierOrKeyword(p.token) || p.token == ast.KindStringLiteral || p.token == ast.KindNumericLiteral || p.token == ast.KindBigIntLiteral
6065}
6066
6067func (p *Parser) isStartOfStatement() bool {
6068 switch p.token {

Callers 5

isListElementMethod · 0.95
canFollowModifierMethod · 0.95
scanTypeMemberStartMethod · 0.95
scanClassMemberStartMethod · 0.95

Calls 1

Tested by

no test coverage detected