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

Method canFollowGetOrSetKeyword

internal/parser/parser.go:4042–4044  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4040}
4041
4042func (p *Parser) canFollowGetOrSetKeyword() bool {
4043 return p.token == ast.KindOpenBracketToken || p.isLiteralPropertyName()
4044}
4045
4046func (p *Parser) nextTokenIsOnSameLineAndCanFollowModifier() bool {
4047 p.nextToken()

Callers 1

Calls 1

isLiteralPropertyNameMethod · 0.95

Tested by

no test coverage detected