This pass generates introspection JSON into user specified file. More...

Public Member Functions | |
| IntrospectionGenerator (IR::TCPipeline *tcPipeline, P4::ReferenceMap *refMap, P4::TypeMap *typeMap) | |
| std::optional< cstring > | checkValidTcType (const IR::StringLiteral *sl) |
| void | collectActionInfo (const IR::ActionList *actionlist, struct TableAttributes *tableinfo, const IR::P4Table *p4table, const IR::TCTable *table) |
| void | collectKeyInfo (const IR::Key *k, struct TableAttributes *tableinfo) |
| void | collectTableInfo () |
| cstring | externalName (const IR::IDeclaration *declaration) |
| Util::JsonObject * | genActionInfo (struct ActionAttributes *action) |
| const Util::JsonObject * | genIntrospectionJson () |
| Util::JsonObject * | genKeyInfo (struct KeyFieldAttributes *keyField) |
| Util::JsonObject * | genTableInfo (struct TableAttributes *tbl) |
| void | genTableJson (Util::JsonArray *tablesJson) |
| void | postorder (const IR::P4Table *t) |
| bool | serializeIntrospectionJson (std::ostream &destination) |
This pass generates introspection JSON into user specified file.