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

Method newFlowNode

internal/binder/binder.go:454–458  ·  view source on GitHub ↗
(flags ast.FlowFlags)

Source from the content-addressed store, hash-verified

452}
453
454func (b *Binder) newFlowNode(flags ast.FlowFlags) *ast.FlowNode {
455 result := b.flowNodeArena.New()
456 result.Flags = flags
457 return result
458}
459
460func (b *Binder) newFlowNodeEx(flags ast.FlowFlags, node *ast.Node, antecedent *ast.FlowNode) *ast.FlowNode {
461 result := b.newFlowNode(flags)

Callers 5

newFlowNodeExMethod · 0.95
createLoopLabelMethod · 0.95
createBranchLabelMethod · 0.95
bindContainerMethod · 0.95
bindSourceFileFunction · 0.80

Calls 1

NewMethod · 0.80

Tested by

no test coverage detected