![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
Slice (const Register &r, int b) | |
Slice (const Register &r, int l, int h) | |
Slice (const Slice &)=default | |
Slice (const Slice &s, int l, int h) | |
void | dbprint (std::ostream &out) const |
operator bool () const | |
const Slice * | operator-> () const |
bool | operator< (const Slice &a) const |
Slice & | operator= (const Slice &a) |
bool | operator== (const Slice &s) const |
bool | overlaps (const Slice &a) const |
unsigned | size () const |
std::string | toString () const |
![]() | |
void | print () const |
Public Attributes | |
int | hi = -1 |
int | lo = -1 |
const Register & | reg |
bool | valid |
|
virtual |
Implements P4::IHasDbPrint.