P4C
The P4 Compiler
|
#include <configuration.h>
Public Member Functions | |
virtual int | maximumArraySize () const =0 |
Maximum size for a header stack array. | |
virtual int | maximumWidthSupported () const =0 |
Maximum width supported for a bit field or integer. | |
A P4CConfiguration is a set of parameters to the compiler that cannot be changed via user options. Implementations should be singleton classes.
|
pure virtual |
Maximum size for a header stack array.
Implemented in P4::DefaultP4CConfiguration.
|
pure virtual |
Maximum width supported for a bit field or integer.
Implemented in P4::DefaultP4CConfiguration, and P4::P4Tools::CompilerConfiguration.