P4C
The P4 Compiler
Loading...
Searching...
No Matches
DeparseGraph::NodeInfo Struct Reference

Public Member Functions

 NodeInfo (const IR::Constant *constant)
 
 NodeInfo (const PHV::Field *field)
 
bool isConstant () const
 
bool isField () const
 

Public Attributes

const IR::Constant * constant
 Non-null if this node represents the deparsing of a constant.
 
const PHV::Fieldfield
 Non-null if this node represents the deparsing of a field.