
Public Member Functions | |
| ConvertStructExpr (const P4::TypeMap *typeMap) | |
| const IR::Node * | postorder (IR::StructExpression *expr) override |
This pass does two things. First, it converts any type member of struct expression that is a Type_Name into a Tupe_StructLike. Second, if the type is a Type_Header, it converts the StructExpression into a HeaderExpression.