P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::BMV2::CFG::Edge Class Referencefinal

A CFG Edge; can be an in-edge or out-edge. More...

#include <controlFlowGraph.h>

Public Member Functions

 Edge (Node *node)
 
 Edge (Node *node, bool b)
 
 Edge (Node *node, cstring label)
 
Edgeclone (Node *node) const
 
void dbprint (std::ostream &out) const
 
bool getBool ()
 
NodegetNode ()
 
bool isBool () const
 
bool isUnconditional () const
 

Public Attributes

Nodeendpoint
 The destination node of the edge. The source node is not known by the edge.
 
cstring label
 

Protected Member Functions

 Edge (Node *node, EdgeType type, cstring label)
 

Protected Attributes

EdgeType type
 

Detailed Description

A CFG Edge; can be an in-edge or out-edge.