
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::IJson * | convertParserStatement (const IR::StatOrDecl *stat) |
| Util::IJson * | convertPathExpression (const IR::PathExpression *expr) |
| std::vector< Util::IJson * > | convertSelectExpression (const IR::SelectExpression *expr) |
| Util::IJson * | convertSelectKey (const IR::SelectExpression *expr) |
| void | convertSimpleKey (const IR::Expression *keySet, big_int &value, big_int &mask) const |
| Util::IJson * | createDefaultTransition () |
| cstring | jsonAssignment (const IR::Type *type) |
| Util::IJson * | stateName (IR::ID state) |