![]() |
P4C
The P4 Compiler
|
#include <p4RuntimeArchHandler.h>
Public Member Functions | |
virtual void | add (P4RuntimeSymbolType type, const IR::IDeclaration *declaration)=0 |
Add a @type symbol, extracting the name and id from @declaration. | |
and possibly an explicit P4 '@id'. | |
Add a @type symbol with | |
virtual void | add (P4RuntimeSymbolType type, cstring name, std::optional< p4rt_id_t > id=std::nullopt)=0 |
virtual p4rt_id_t | getId (P4RuntimeSymbolType type, const IR::IDeclaration *declaration) const=0 |
. | |
| |
virtual p4rt_id_t | getId (P4RuntimeSymbolType type, cstring name) const=0 |
virtual cstring | getAlias (cstring name) const=0 |
A table which tracks the symbols which are visible to P4Runtime and their ids.
|
pure virtual |
|
pure virtual |