(p *graphNode)
| 200 | type nodeSet map[*graphNode]bool |
| 201 | |
| 202 | func (s *nodeSet) add(p *graphNode) { |
| 203 | if *s == nil { |
| 204 | *s = make(nodeSet) |
| 205 | } |
| 206 | (*s)[p] = true |
| 207 | } |
| 208 | |
| 209 | // dependencyGraph computes the object dependency graph from the given objMap, |
| 210 | // with any function nodes removed. The resulting graph contains only constants |