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

Method inDisallowInContext

internal/parser/parser.go:6398–6400  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6396}
6397
6398func (p *Parser) inDisallowInContext() bool {
6399 return p.contextFlags&ast.NodeFlagsDisallowInContext != 0
6400}
6401
6402func (p *Parser) inDisallowConditionalTypesContext() bool {
6403 return p.contextFlags&ast.NodeFlagsDisallowConditionalTypesContext != 0

Callers 2

isBinaryOperatorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected