P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Parser::State::Match::Clot Struct Reference

Public Member Functions

 Clot (Clot &&)=delete
 
 Clot (const Clot &)=delete
 
 Clot (gress_t gress, const value_t &tag, const value_t &data)
 
bool parse_length (const value_t &exp, int what=0)
 
template<>
void write_config (JBay::memories_parser_::_po_action_row &po_row, int idx, bool offset_add) const
 
template<class PO_ROW>
void write_config (PO_ROW &, int, bool) const
 
template<>
void write_config (Tofino::memories_all_parser_::_po_action_row &, int, bool) const
 

Public Attributes

int csum_unit = -1
 
int length = -1
 
int length_mask = -1
 
int length_shift = -1
 
int lineno
 
bool load_length = false
 
int max_length = -1
 
std::string name
 
int stack_depth = 1
 
int stack_inc = 1
 
int start = -1
 
int tag