P4C
The P4 Compiler
Loading...
Searching...
No Matches
Constraints::DeparsedToTMConstraint Class Reference
Inheritance diagram for Constraints::DeparsedToTMConstraint:
[legend]

Public Types

enum  DeparsedToTMReason { NONE = 0 , DEPARSE = 1 << 0 }
 

Public Member Functions

void addConstraint (uint32_t r)
 
bool hasConstraint () const
 
bool isDeparse () const
 

Member Function Documentation

◆ addConstraint()

void Constraints::DeparsedToTMConstraint::addConstraint ( uint32_t r)
inlinevirtual

◆ hasConstraint()

bool Constraints::DeparsedToTMConstraint::hasConstraint ( ) const
inlinevirtual