StmtEdge is a representation of a dependency. It also supports send/recv. Edges represents that the first resource (Kind/Name) listed in the EdgeHalfList should happen in the resource graph *before* the next resource in the list. If there are multiple StmtEdgeHalf structs listed, then they should re
| 2739 | // names are compatible and listed. In this case of Send/Recv, only lists of |
| 2740 | // length two are legal. |
| 2741 | type StmtEdge struct { |
| 2742 | interfaces.Textarea |
| 2743 | |
| 2744 | data *interfaces.Data |
| 2745 | |
| 2746 | EdgeHalfList []*StmtEdgeHalf // represents a chain of edges |
| 2747 | |
| 2748 | // TODO: should notify be an Expr? |
| 2749 | Notify bool // specifies that this edge sends a notification as well |
| 2750 | } |
| 2751 | |
| 2752 | // String returns a short representation of this statement. |
| 2753 | func (obj *StmtEdge) String() string { |
nothing calls this directly
no outgoing calls
no test coverage detected