P4C
The P4 Compiler
|
Describes how a parser or control is specialized. More...
#include <specialize.h>
Public Member Functions | |
SpecializationInfo (const IR::Node *invocation, const IR::IContainer *cont, const IR::Node *insertion) | |
const IR::Type_Declaration * | synthesize (const Visitor::Context *ctxt) |
Public Attributes | |
IR::Vector< IR::Argument > * | constructorArguments |
Values to substitute for constructor arguments. | |
IR::IndexedVector< IR::Declaration > | declarations |
Declarations to insert in the list of locals. | |
const IR::Node * | insertBefore |
Where in the program should the specialization be inserted. | |
const IR::Node * | invocation |
Invocation which causes this specialization. | |
cstring | name |
Name to use for specialized object. | |
const IR::IContainer * | specialized |
Actual parser or control that is being specialized. | |
const IR::Vector< IR::Type > * | typeArguments |
Values to substitute for type arguments. | |
Describes how a parser or control is specialized.