P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
BMV2::ParserConverter Class Reference
Inheritance diagram for BMV2::ParserConverter:

Public Member Functions

 ParserConverter (ConversionContext *ctxt, cstring name="parser")
 
bool preorder (const IR::P4Parser *p) override
 

Protected Member Functions

void addValueSets (const IR::P4Parser *parser)
 
unsigned combine (const IR::Expression *keySet, const IR::ListExpression *select, big_int &value, big_int &mask, bool &is_vset, cstring &vset_name) const
 
Util::IJsonconvertParserStatement (const IR::StatOrDecl *stat)
 
Util::IJsonconvertPathExpression (const IR::PathExpression *expr)
 
std::vector< Util::IJson * > convertSelectExpression (const IR::SelectExpression *expr)
 
Util::IJsonconvertSelectKey (const IR::SelectExpression *expr)
 
void convertSimpleKey (const IR::Expression *keySet, big_int &value, big_int &mask) const
 
Util::IJsoncreateDefaultTransition ()
 
cstring jsonAssignment (const IR::Type *type)
 
Util::IJsonstateName (IR::ID state)