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

Method createFlowCall

internal/binder/binder.go:514–518  ·  view source on GitHub ↗
(antecedent *ast.FlowNode, node *ast.Node)

Source from the content-addressed store, hash-verified

512}
513
514func (b *Binder) createFlowCall(antecedent *ast.FlowNode, node *ast.Node) *ast.FlowNode {
515 setFlowNodeReferenced(antecedent)
516 b.hasFlowEffects = true
517 return b.newFlowNodeEx(ast.FlowFlagsCall, node, antecedent)
518}
519
520func (b *Binder) newFlowList(head *ast.FlowNode, tail *ast.FlowList) *ast.FlowList {
521 result := b.flowListArena.New()

Callers 2

Calls 2

newFlowNodeExMethod · 0.95
setFlowNodeReferencedFunction · 0.85

Tested by

no test coverage detected