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

Method bindIterativeStatement

internal/binder/binder.go:1807–1815  ·  view source on GitHub ↗
(node *ast.Node, breakTarget *ast.FlowLabel, continueTarget *ast.FlowLabel)

Source from the content-addressed store, hash-verified

1805}
1806
1807func (b *Binder) bindIterativeStatement(node *ast.Node, breakTarget *ast.FlowLabel, continueTarget *ast.FlowLabel) {
1808 saveBreakTarget := b.currentBreakTarget
1809 saveContinueTarget := b.currentContinueTarget
1810 b.currentBreakTarget = breakTarget
1811 b.currentContinueTarget = continueTarget
1812 b.bind(node)
1813 b.currentBreakTarget = saveBreakTarget
1814 b.currentContinueTarget = saveContinueTarget
1815}
1816
1817func isLogicalAssignmentExpression(node *ast.Node) bool {
1818 return ast.IsLogicalOrCoalescingAssignmentExpression(ast.SkipParentheses(node))

Callers 4

bindWhileStatementMethod · 0.95
bindDoStatementMethod · 0.95
bindForStatementMethod · 0.95

Calls 1

bindMethod · 0.95

Tested by

no test coverage detected