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

Method newFlowNodeEx

internal/binder/binder.go:460–465  ·  view source on GitHub ↗
(flags ast.FlowFlags, node *ast.Node, antecedent *ast.FlowNode)

Source from the content-addressed store, hash-verified

458}
459
460func (b *Binder) newFlowNodeEx(flags ast.FlowFlags, node *ast.Node, antecedent *ast.FlowNode) *ast.FlowNode {
461 result := b.newFlowNode(flags)
462 result.Node = node
463 result.Antecedent = antecedent
464 return result
465}
466
467func (b *Binder) createLoopLabel() *ast.FlowLabel {
468 return b.newFlowNode(ast.FlowFlagsLoopLabel)

Callers 5

createReduceLabelMethod · 0.95
createFlowConditionMethod · 0.95
createFlowMutationMethod · 0.95
createFlowCallMethod · 0.95

Calls 1

newFlowNodeMethod · 0.95

Tested by

no test coverage detected