P4C
The P4 Compiler
|
#include <phv_fields.h>
Public Member Functions | |
Constant (const IR::Constant *value) | |
const PHV::Field * | field () const override |
const le_bitrange & | range () const override |
int | size () const override |
Public Member Functions inherited from PHV::AbstractField | |
template<typename T > | |
const T & | as () const |
template<typename T > | |
bool | is () const |
template<typename T > | |
const T * | to () const |
Public Attributes | |
const IR::Constant * | value |
Additional Inherited Members | |
Static Public Member Functions inherited from PHV::AbstractField | |
static AbstractField * | create (const PhvInfo &, const IR::Expression *) |
Represent a constant value in a field list.
|
inlineoverridevirtual |
Implements PHV::AbstractField.
|
inlineoverridevirtual |
Implements PHV::AbstractField.
|
inlineoverridevirtual |
Implements PHV::AbstractField.