![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
void | input (VECTOR(value_t) args, value_t data) override |
void | output (json::map &) override |
![]() | |
void | input (value_t data) |
mode_t & | operator[] (type_t t) |
template<class REGS> | |
void | write_regs (REGS &, const Stage *, gress_t) |
Static Public Member Functions | |
static ErrorMode | get () |
![]() | |
static void | asm_section (char *name, VECTOR(value_t) args, value_t data) |
static bool | no_sections_in_assembly () |
static void | output_all (json::map &ctxtJson) |
static void | process_all () |
static bool | section_in_assembly (const char *name) |
static int | start_section (int lineno, char *name, VECTOR(value_t) args) |
static Section * | test_get (const char *name) |
![]() | |
static const char * | mode2str (mode_t m) |
static mode_t | str2mode (const value_t &) |
static type_t | str2type (const value_t &) |
static const char * | type2str (type_t t) |
Additional Inherited Members | |
![]() | |
enum | mode_t { NO_CONFIG = 0 , PROPAGATE , MAP_TO_IMMEDIATE , DISABLE_ALL_TABLES , PROPAGATE_AND_MAP , PROPAGATE_AND_DISABLE } |
enum | type_t { TCAM_MATCH , TIND_ECC , GFM_PARITY , EMM_ECC , PREV_ERROR , ACTIONDATA_ERROR , IMEM_PARITY_ERROR , NUM_TYPE_T , LATE_ERROR = ACTIONDATA_ERROR } |
![]() | |
mode_t | mode [NUM_TYPE_T] = {NO_CONFIG} |
![]() | |
Section (const char *name_) | |
virtual void | process () |
optionally process the data if not done during parsing | |
virtual void | start (int lineno, VECTOR(value_t) args) |
process the arguments on the same line as the heading | |