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

Method nextIsIdentifierAndCloseParen

internal/parser/parser.go:1599–1601  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1597}
1598
1599func (p *Parser) nextIsIdentifierAndCloseParen() bool {
1600 return p.nextTokenIsIdentifier() && p.nextToken() == ast.KindCloseParenToken
1601}
1602
1603func (p *Parser) nextTokenIsIdentifier() bool {
1604 p.nextToken()

Callers

nothing calls this directly

Calls 2

nextTokenIsIdentifierMethod · 0.95
nextTokenMethod · 0.95

Tested by

no test coverage detected