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

Method bindThrowStatement

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

Source from the content-addressed store, hash-verified

1947}
1948
1949func (b *Binder) bindThrowStatement(node *ast.Node) {
1950 b.bind(node.Expression())
1951 b.currentFlow = b.unreachableFlow
1952 b.hasFlowEffects = true
1953}
1954
1955func (b *Binder) bindBreakStatement(node *ast.Node) {
1956 b.bindBreakOrContinueStatement(node.Label(), b.currentBreakTarget, (*ActiveLabel).BreakTarget)

Callers 1

bindChildrenMethod · 0.95

Calls 2

bindMethod · 0.95
ExpressionMethod · 0.80

Tested by

no test coverage detected