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

Method inAwaitContext

internal/parser/parser.go:6410–6412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6408}
6409
6410func (p *Parser) inAwaitContext() bool {
6411 return p.contextFlags&ast.NodeFlagsAwaitContext != 0
6412}
6413
6414func (p *Parser) skipRangeTrivia(textRange core.TextRange) core.TextRange {
6415 return core.NewTextRange(scanner.SkipTrivia(p.sourceText, textRange.Pos()), textRange.End())

Callers 3

isAwaitExpressionMethod · 0.95
isIdentifierMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected