![]() |
P4C
The P4 Compiler
|
#include <phv_fields.h>
Public Member Functions | |
| template<typename T> | |
| const T & | as () const |
| virtual const PHV::Field * | field () const =0 |
| template<typename T> | |
| bool | is () const |
| virtual const le_bitrange & | range () const =0 |
| virtual int | size () const =0 |
| template<typename T> | |
| const T * | to () const |
Static Public Member Functions | |
| static AbstractField * | create (const PhvInfo &, const IR::Expression *) |
The base class for PHV::FieldSlice and PHV::Constant. A field list could have both field slice and constant.
|
pure virtual |
Implemented in PHV::FieldSlice.
|
pure virtual |
Implemented in PHV::FieldSlice.
|
pure virtual |
Implemented in PHV::FieldSlice.