![]() |
P4C
The P4 Compiler
|
Classes | |
| struct | Component |
| struct | FieldsMap |
| struct | FinalName |
Public Member Functions | |
| ComplexValues (ReferenceMap *refMap, TypeMap *typeMap) | |
| template<class T > | |
| void | explode (cstring prefix, const IR::Type_Struct *type, FieldsMap *map, IR::Vector< T > *result) |
| Flatten a nested struct to only contain field declaration or non-nested struct. | |
| Component * | getTranslation (const IR::Expression *expression) |
| Component * | getTranslation (const IR::IDeclaration *decl) |
| bool | isNestedStruct (const IR::Type *type) |
| Helper function that test if a struct is nested. | |
| void | setTranslation (const IR::Expression *expression, Component *comp) |
Public Attributes | |
| ReferenceMap * | refMap |
| std::map< const IR::Expression *, Component * > | translation |
| TypeMap * | typeMap |
| std::map< const IR::Declaration_Variable *, Component * > | values |