MCPcopy
hub / github.com/google/mangle / initNode

Method initNode

analysis/stratification.go:103–107  ·  view source on GitHub ↗
(src ast.PredicateSym)

Source from the content-addressed store, hash-verified

101}
102
103func (dep depGraph) initNode(src ast.PredicateSym) {
104 if _, ok := dep[src]; !ok {
105 dep[src] = make(edgeMap)
106 }
107}
108
109func (dep depGraph) addEdge(src ast.PredicateSym, dest ast.PredicateSym, negated bool) {
110 edges := dep[src]

Callers 3

makeDepGraphFunction · 0.80
transposeMethod · 0.80
buildTemporalDepGraphFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected