MCPcopy Index your code
hub / github.com/microsoft/typescript-go / isAwaitUsingDeclaration

Method isAwaitUsingDeclaration

internal/parser/parser.go:6366–6368  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6364}
6365
6366func (p *Parser) isAwaitUsingDeclaration() bool {
6367 return p.lookAhead((*Parser).nextIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine)
6368}
6369
6370func (p *Parser) nextIsUsingKeywordThenBindingIdentifierOrStartOfObjectDestructuringOnSameLine() bool {
6371 return p.nextToken() == ast.KindUsingKeyword && p.nextTokenIsBindingIdentifierOrStartOfDestructuringOnSameLine( /*disallowOf*/ false)

Callers 4

parseStatementMethod · 0.95

Calls 1

lookAheadMethod · 0.95

Tested by

no test coverage detected