![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
| void | input (VECTOR(value_t) args, value_t data) override |
| void | output (json::map &) override |
Public Member Functions inherited from ErrorMode | |
| 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 Public Member Functions inherited from Section | |
| 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 Public Member Functions inherited from ErrorMode | |
| 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 | |
Public Types inherited from ErrorMode | |
| 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 } |
Public Attributes inherited from ErrorMode | |
| mode_t | mode [NUM_TYPE_T] = {NO_CONFIG} |
Protected Member Functions inherited from Section | |
| 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 | |