P4C
The P4 Compiler
|
Result contains either an error or all instructions for an action. More...
#include <action_constraint_solver.h>
Public Member Functions | |
Result (const Error &err) | |
Result (const Instruction *inst) | |
Result (const std::vector< const Instruction * > &instructions) | |
bool | ok () |
Public Attributes | |
std::optional< Error > | err |
std::vector< const Instruction * > | instructions |
Result contains either an error or all instructions for an action.