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

Method bindNonNullExpressionFlow

internal/binder/binder.go:2442–2448  ·  view source on GitHub ↗
(node *ast.Node)

Source from the content-addressed store, hash-verified

2440}
2441
2442func (b *Binder) bindNonNullExpressionFlow(node *ast.Node) {
2443 if ast.IsOptionalChain(node) {
2444 b.bindOptionalChainFlow(node)
2445 } else {
2446 b.bindEachChild(node)
2447 }
2448}
2449
2450func (b *Binder) bindBindingElementFlow(node *ast.Node) {
2451 // When evaluating a binding pattern, the initializer is evaluated before the binding pattern, per:

Callers 1

bindChildrenMethod · 0.95

Calls 3

bindOptionalChainFlowMethod · 0.95
bindEachChildMethod · 0.95
IsOptionalChainFunction · 0.92

Tested by

no test coverage detected