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

Method inDisallowConditionalTypesContext

internal/parser/parser.go:6402–6404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6400}
6401
6402func (p *Parser) inDisallowConditionalTypesContext() bool {
6403 return p.contextFlags&ast.NodeFlagsDisallowConditionalTypesContext != 0
6404}
6405
6406func (p *Parser) inDecoratorContext() bool {
6407 return p.contextFlags&ast.NodeFlagsDecoratorContext != 0

Callers 2

parseTypeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected