P4C
The P4 Compiler
|
SourceOp represents a source operand. More...
#include <action_source_tracker.h>
Public Types | |
enum class | OpType { move , bitwise , whole_container } |
Public Member Functions | |
SourceOp | slice (int start, int len) const |
Public Attributes | |
bool | ad_or_const = false |
std::optional< PHV::FieldSlice > | phv_src = std::nullopt |
OpType | t = OpType::move |
SourceOp represents a source operand.
SourceOp PHV::SourceOp::slice | ( | int | start, |
int | len ) const |