P4C
The P4 Compiler
|
#include <small_step.h>
Public Member Functions | |
Branch (ExecutionState &nextState) | |
Simple branch without any constraint. | |
Branch (std::optional< const Constraint * > c, const ExecutionState &prevState, ExecutionState &nextState) | |
Branch (std::optional< const Constraint * > c, const ExecutionState &prevState, ExecutionState &nextState, P4::Coverage::CoverageSet potentialNodes) | |
Public Attributes | |
const Constraint * | constraint |
ExecutionStateReference | nextState |
P4::Coverage::CoverageSet | potentialNodes |
A branch is an execution state paired with an optional path constraint representing the choice made to take the branch.
P4::P4Tools::P4Testgen::SmallStepEvaluator::Branch::Branch | ( | std::optional< const Constraint * > | c, |
const ExecutionState & | prevState, | ||
ExecutionState & | nextState ) |
Branch constrained by a condition. prevState is the state in which the condition is later evaluated.
P4::P4Tools::P4Testgen::SmallStepEvaluator::Branch::Branch | ( | std::optional< const Constraint * > | c, |
const ExecutionState & | prevState, | ||
ExecutionState & | nextState, | ||
P4::Coverage::CoverageSet | potentialNodes ) |
Branch constrained by a condition. prevState is the state in which the condition is later evaluated.