P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::NestedStructMap Struct Reference

#include <flattenInterfaceStructs.h>

Public Member Functions

 NestedStructMap (P4::TypeMap *typeMap)
 
void createReplacement (const IR::Type_Struct *type)
 
bool empty () const
 
StructTypeReplacement< IR::Type_Struct > * getReplacement (const IR::Type *type) const
 

Public Attributes

ordered_map< const IR::Type *, StructTypeReplacement< IR::Type_Struct > * > replacement
 
P4::TypeMaptypeMap
 

Detailed Description

Maintains a map between an original struct type and its replacement.