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

Method inYieldContext

internal/parser/parser.go:6394–6396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6392}
6393
6394func (p *Parser) inYieldContext() bool {
6395 return p.contextFlags&ast.NodeFlagsYieldContext != 0
6396}
6397
6398func (p *Parser) inDisallowInContext() bool {
6399 return p.contextFlags&ast.NodeFlagsDisallowInContext != 0

Callers 2

isYieldExpressionMethod · 0.95
isIdentifierMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected