![]()  | 
  
    P4C
    
   The P4 Compiler 
   | 
 
Public Member Functions | |
| ConversionContext (P4::ReferenceMap *refMap, P4::TypeMap *typeMap, const IR::ToplevelBlock *toplevel, P4::ProgramStructure *structure, ExpressionConverter *conv, JsonObjects *json) | |
| void | addToFieldList (const IR::Expression *expr, Util::JsonArray *fl) | 
| cstring | createCalculation (cstring algo, const IR::Expression *fields, Util::JsonArray *calculations, bool usePayload, const IR::Node *node) | 
| int | createFieldList (const IR::Expression *expr, cstring listName, bool learn=false) | 
| const SelectorInput * | get_selector_input (const IR::Declaration_Instance *selector) | 
Static Public Member Functions | |
| static void | modelError (const char *format, const IR::Node *place) | 
Public Attributes | |
| Util::JsonArray * | action_profiles = nullptr | 
| For action profile conversion.  | |
| BlockConverted | blockConverted | 
| Block currently being converted.  | |
| ExpressionConverter * | conv | 
| Expression converter is used in many places.  | |
| BMV2::JsonObjects * | json | 
| Final json output.  | |
| P4::ReferenceMap * | refMap | 
| context  | |
| std::map< const IR::Declaration_Instance *, SelectorInput > | selector_input_map | 
| P4::ProgramStructure * | structure | 
| ProgramStructure pointer.  | |
| const IR::ToplevelBlock * | toplevel | 
| P4::TypeMap * | typeMap |