P4C
The P4 Compiler
Loading...
Searching...
No Matches
solver::Result Struct Reference

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< Errorerr
 
std::vector< const Instruction * > instructions
 

Detailed Description

Result contains either an error or all instructions for an action.