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

Method nextTokenIsIdentifier

internal/parser/parser.go:1603–1606  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1601}
1602
1603func (p *Parser) nextTokenIsIdentifier() bool {
1604 p.nextToken()
1605 return p.isIdentifier()
1606}
1607
1608func (p *Parser) parseVariableDeclaration() *ast.Node {
1609 return p.parseVariableDeclarationWorker(false /*allowExclamation*/)

Callers 2

Calls 2

nextTokenMethod · 0.95
isIdentifierMethod · 0.95

Tested by

no test coverage detected