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

Method bindBreakOrContinueFlow

internal/binder/binder.go:1985–1991  ·  view source on GitHub ↗
(flowLabel *ast.FlowLabel)

Source from the content-addressed store, hash-verified

1983}
1984
1985func (b *Binder) bindBreakOrContinueFlow(flowLabel *ast.FlowLabel) {
1986 if flowLabel != nil {
1987 b.addAntecedent(flowLabel, b.currentFlow)
1988 b.currentFlow = b.unreachableFlow
1989 b.hasFlowEffects = true
1990 }
1991}
1992
1993func (b *Binder) bindTryStatement(node *ast.Node) {
1994 // We conservatively assume that *any* code in the try block can cause an exception, but we only need

Callers 1

Calls 1

addAntecedentMethod · 0.95

Tested by

no test coverage detected