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

Method createBranchLabel

internal/binder/binder.go:471–473  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

469}
470
471func (b *Binder) createBranchLabel() *ast.FlowLabel {
472 return b.newFlowNode(ast.FlowFlagsBranchLabel)
473}
474
475func (b *Binder) createReduceLabel(target *ast.FlowLabel, antecedents *ast.FlowList, antecedent *ast.FlowNode) *ast.FlowNode {
476 return b.newFlowNodeEx(ast.FlowFlagsReduceLabel, ast.NewFlowReduceLabelData(target, antecedents), antecedent)

Callers 15

bindWhileStatementMethod · 0.95
bindDoStatementMethod · 0.95
bindForStatementMethod · 0.95
bindIfStatementMethod · 0.95
bindTryStatementMethod · 0.95
bindSwitchStatementMethod · 0.95
bindCaseBlockMethod · 0.95
bindLabeledStatementMethod · 0.95

Calls 1

newFlowNodeMethod · 0.95

Tested by

no test coverage detected