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

Method nextTokenCanFollowExportModifier

internal/parser/parser.go:4029–4032  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4027}
4028
4029func (p *Parser) nextTokenCanFollowExportModifier() bool {
4030 p.nextToken()
4031 return p.canFollowExportModifier()
4032}
4033
4034func (p *Parser) canFollowExportModifier() bool {
4035 return p.token == ast.KindAtToken || p.token != ast.KindAsteriskToken && p.token != ast.KindAsKeyword && p.token != ast.KindOpenBraceToken && p.canFollowModifier()

Callers

nothing calls this directly

Calls 2

nextTokenMethod · 0.95

Tested by

no test coverage detected