Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
re2::Prog::Inst Class Reference

#include <prog.h>

Public Member Functions

int cap ()
 
int cap ()
 
std::string Dump ()
 
std::string Dump ()
 
EmptyOp empty ()
 
EmptyOp empty ()
 
int foldcase ()
 
int foldcase ()
 
bool greedy (Prog *p)
 
bool greedy (Prog *p)
 
int hi ()
 
int hi ()
 
int hint ()
 
int hint ()
 
int id (Prog *p)
 
int id (Prog *p)
 
void InitAlt (uint32_t out, uint32_t out1)
 
void InitAlt (uint32_t out, uint32_t out1)
 
void InitByteRange (int lo, int hi, int foldcase, uint32_t out)
 
void InitByteRange (int lo, int hi, int foldcase, uint32_t out)
 
void InitCapture (int cap, uint32_t out)
 
void InitCapture (int cap, uint32_t out)
 
void InitEmptyWidth (EmptyOp empty, uint32_t out)
 
void InitEmptyWidth (EmptyOp empty, uint32_t out)
 
void InitFail ()
 
void InitFail ()
 
void InitMatch (int id)
 
void InitMatch (int id)
 
void InitNop (uint32_t out)
 
void InitNop (uint32_t out)
 
 Inst ()=default
 
 Inst ()=default
 
 Inst (const Inst &)=default
 
 Inst (const Inst &)=default
 
int last ()
 
int last ()
 
int lo ()
 
int lo ()
 
int match_id ()
 
int match_id ()
 
bool Matches (int c)
 
bool Matches (int c)
 
InstOp opcode ()
 
InstOp opcode ()
 
Instoperator= (const Inst &)=default
 
Instoperator= (const Inst &)=default
 
int out ()
 
int out ()
 
int out1 ()
 
int out1 ()
 

Static Public Attributes

static const int kMaxInst = (1<<28) - 1
 

Private Member Functions

void set_last ()
 
void set_last ()
 
void set_opcode (InstOp opcode)
 
void set_opcode (InstOp opcode)
 
void set_out (int out)
 
void set_out (int out)
 
void set_out_opcode (int out, InstOp opcode)
 
void set_out_opcode (int out, InstOp opcode)
 

Private Attributes

union {
   struct {
      uint8_t   hi_
 
      uint16_t   hint_foldcase_
 
      uint8_t   lo_
 
   } 
 
   int32_t   cap_
 
   EmptyOp   empty_
 
   int32_t   match_id_
 
   uint32_t   out1_
 
}; 
 
union {
   struct {
      uint8_t   hi_
 
      uint16_t   hint_foldcase_
 
      uint8_t   lo_
 
   } 
 
   int32_t   cap_
 
   EmptyOp   empty_
 
   int32_t   match_id_
 
   uint32_t   out1_
 
}; 
 
uint32_t out_opcode_
 

Friends

class Compiler
 
struct PatchList
 
class Prog
 

Detailed Description

Definition at line 62 of file bloaty/third_party/re2/re2/prog.h.

Constructor & Destructor Documentation

◆ Inst() [1/4]

re2::Prog::Inst::Inst ( )
default

◆ Inst() [2/4]

re2::Prog::Inst::Inst ( const Inst )
default

◆ Inst() [3/4]

re2::Prog::Inst::Inst ( )
default

◆ Inst() [4/4]

re2::Prog::Inst::Inst ( const Inst )
default

Member Function Documentation

◆ cap() [1/2]

int re2::Prog::Inst::cap ( )
inline

Definition at line 86 of file bloaty/third_party/re2/re2/prog.h.

◆ cap() [2/2]

int re2::Prog::Inst::cap ( )
inline

Definition at line 86 of file re2/re2/prog.h.

◆ Dump() [1/2]

std::string re2::Prog::Inst::Dump ( )

Definition at line 68 of file bloaty/third_party/re2/re2/prog.cc.

◆ Dump() [2/2]

std::string re2::Prog::Inst::Dump ( )

◆ empty() [1/2]

EmptyOp re2::Prog::Inst::empty ( )
inline

Definition at line 92 of file bloaty/third_party/re2/re2/prog.h.

◆ empty() [2/2]

EmptyOp re2::Prog::Inst::empty ( )
inline

Definition at line 92 of file re2/re2/prog.h.

◆ foldcase() [1/2]

int re2::Prog::Inst::foldcase ( )
inline

Definition at line 89 of file re2/re2/prog.h.

◆ foldcase() [2/2]

int re2::Prog::Inst::foldcase ( )
inline

Definition at line 89 of file bloaty/third_party/re2/re2/prog.h.

◆ greedy() [1/2]

bool re2::Prog::Inst::greedy ( Prog p)
inline

Definition at line 94 of file bloaty/third_party/re2/re2/prog.h.

◆ greedy() [2/2]

bool re2::Prog::Inst::greedy ( Prog p)
inline

Definition at line 94 of file re2/re2/prog.h.

◆ hi() [1/2]

int re2::Prog::Inst::hi ( )
inline

Definition at line 88 of file bloaty/third_party/re2/re2/prog.h.

◆ hi() [2/2]

int re2::Prog::Inst::hi ( )
inline

Definition at line 88 of file re2/re2/prog.h.

◆ hint() [1/2]

int re2::Prog::Inst::hint ( )
inline

Definition at line 90 of file bloaty/third_party/re2/re2/prog.h.

◆ hint() [2/2]

int re2::Prog::Inst::hint ( )
inline

Definition at line 90 of file re2/re2/prog.h.

◆ id() [1/2]

int re2::Prog::Inst::id ( Prog p)
inline

Definition at line 81 of file re2/re2/prog.h.

◆ id() [2/2]

int re2::Prog::Inst::id ( Prog p)
inline

Definition at line 81 of file bloaty/third_party/re2/re2/prog.h.

◆ InitAlt() [1/2]

void re2::Prog::Inst::InitAlt ( uint32_t  out,
uint32_t  out1 
)

Definition at line 26 of file bloaty/third_party/re2/re2/prog.cc.

◆ InitAlt() [2/2]

void re2::Prog::Inst::InitAlt ( uint32_t  out,
uint32_t  out1 
)

◆ InitByteRange() [1/2]

void re2::Prog::Inst::InitByteRange ( int  lo,
int  hi,
int  foldcase,
uint32_t  out 
)

Definition at line 32 of file bloaty/third_party/re2/re2/prog.cc.

◆ InitByteRange() [2/2]

void re2::Prog::Inst::InitByteRange ( int  lo,
int  hi,
int  foldcase,
uint32_t  out 
)

◆ InitCapture() [1/2]

void re2::Prog::Inst::InitCapture ( int  cap,
uint32_t  out 
)

Definition at line 40 of file bloaty/third_party/re2/re2/prog.cc.

◆ InitCapture() [2/2]

void re2::Prog::Inst::InitCapture ( int  cap,
uint32_t  out 
)

◆ InitEmptyWidth() [1/2]

void re2::Prog::Inst::InitEmptyWidth ( EmptyOp  empty,
uint32_t  out 
)

◆ InitEmptyWidth() [2/2]

void re2::Prog::Inst::InitEmptyWidth ( EmptyOp  empty,
uint32_t  out 
)

Definition at line 46 of file bloaty/third_party/re2/re2/prog.cc.

◆ InitFail() [1/2]

void re2::Prog::Inst::InitFail ( )

◆ InitFail() [2/2]

void re2::Prog::Inst::InitFail ( )

Definition at line 63 of file bloaty/third_party/re2/re2/prog.cc.

◆ InitMatch() [1/2]

void re2::Prog::Inst::InitMatch ( int  id)

◆ InitMatch() [2/2]

void re2::Prog::Inst::InitMatch ( int  id)

◆ InitNop() [1/2]

void re2::Prog::Inst::InitNop ( uint32_t  out)

◆ InitNop() [2/2]

void re2::Prog::Inst::InitNop ( uint32_t  out)

Definition at line 58 of file bloaty/third_party/re2/re2/prog.cc.

◆ last() [1/2]

int re2::Prog::Inst::last ( )
inline

Definition at line 83 of file re2/re2/prog.h.

◆ last() [2/2]

int re2::Prog::Inst::last ( )
inline

Definition at line 83 of file bloaty/third_party/re2/re2/prog.h.

◆ lo() [1/2]

int re2::Prog::Inst::lo ( )
inline

Definition at line 87 of file re2/re2/prog.h.

◆ lo() [2/2]

int re2::Prog::Inst::lo ( )
inline

Definition at line 87 of file bloaty/third_party/re2/re2/prog.h.

◆ match_id() [1/2]

int re2::Prog::Inst::match_id ( )
inline

Definition at line 91 of file bloaty/third_party/re2/re2/prog.h.

◆ match_id() [2/2]

int re2::Prog::Inst::match_id ( )
inline

Definition at line 91 of file re2/re2/prog.h.

◆ Matches() [1/2]

bool re2::Prog::Inst::Matches ( int  c)
inline

Definition at line 102 of file bloaty/third_party/re2/re2/prog.h.

◆ Matches() [2/2]

bool re2::Prog::Inst::Matches ( int  c)
inline

Definition at line 102 of file re2/re2/prog.h.

◆ opcode() [1/2]

InstOp re2::Prog::Inst::opcode ( )
inline

Definition at line 82 of file re2/re2/prog.h.

◆ opcode() [2/2]

InstOp re2::Prog::Inst::opcode ( )
inline

Definition at line 82 of file bloaty/third_party/re2/re2/prog.h.

◆ operator=() [1/2]

Inst& re2::Prog::Inst::operator= ( const Inst )
default

◆ operator=() [2/2]

Inst& re2::Prog::Inst::operator= ( const Inst )
default

◆ out() [1/2]

int re2::Prog::Inst::out ( )
inline

Definition at line 84 of file bloaty/third_party/re2/re2/prog.h.

◆ out() [2/2]

int re2::Prog::Inst::out ( )
inline

Definition at line 84 of file re2/re2/prog.h.

◆ out1() [1/2]

int re2::Prog::Inst::out1 ( )
inline

Definition at line 85 of file re2/re2/prog.h.

◆ out1() [2/2]

int re2::Prog::Inst::out1 ( )
inline

Definition at line 85 of file bloaty/third_party/re2/re2/prog.h.

◆ set_last() [1/2]

void re2::Prog::Inst::set_last ( )
inlineprivate

Definition at line 121 of file bloaty/third_party/re2/re2/prog.h.

◆ set_last() [2/2]

void re2::Prog::Inst::set_last ( )
inlineprivate

Definition at line 121 of file re2/re2/prog.h.

◆ set_opcode() [1/2]

void re2::Prog::Inst::set_opcode ( InstOp  opcode)
inlineprivate

Definition at line 117 of file bloaty/third_party/re2/re2/prog.h.

◆ set_opcode() [2/2]

void re2::Prog::Inst::set_opcode ( InstOp  opcode)
inlineprivate

Definition at line 117 of file re2/re2/prog.h.

◆ set_out() [1/2]

void re2::Prog::Inst::set_out ( int  out)
inlineprivate

Definition at line 125 of file re2/re2/prog.h.

◆ set_out() [2/2]

void re2::Prog::Inst::set_out ( int  out)
inlineprivate

Definition at line 125 of file bloaty/third_party/re2/re2/prog.h.

◆ set_out_opcode() [1/2]

void re2::Prog::Inst::set_out_opcode ( int  out,
InstOp  opcode 
)
inlineprivate

Definition at line 129 of file re2/re2/prog.h.

◆ set_out_opcode() [2/2]

void re2::Prog::Inst::set_out_opcode ( int  out,
InstOp  opcode 
)
inlineprivate

Definition at line 129 of file bloaty/third_party/re2/re2/prog.h.

Friends And Related Function Documentation

◆ Compiler

Compiler
friend

Definition at line 164 of file bloaty/third_party/re2/re2/prog.h.

◆ PatchList

PatchList
friend

Definition at line 165 of file bloaty/third_party/re2/re2/prog.h.

◆ Prog

Prog
friend

Definition at line 166 of file bloaty/third_party/re2/re2/prog.h.

Member Data Documentation

◆ @311

union { ... }

◆ @670

union { ... }

◆ cap_

int32_t re2::Prog::Inst::cap_

Definition at line 138 of file bloaty/third_party/re2/re2/prog.h.

◆ empty_

EmptyOp re2::Prog::Inst::empty_

Definition at line 160 of file bloaty/third_party/re2/re2/prog.h.

◆ hi_

uint8_t re2::Prog::Inst::hi_

Definition at line 150 of file bloaty/third_party/re2/re2/prog.h.

◆ hint_foldcase_

uint16_t re2::Prog::Inst::hint_foldcase_

Definition at line 151 of file bloaty/third_party/re2/re2/prog.h.

◆ kMaxInst

static const int re2::Prog::Inst::kMaxInst = (1<<28) - 1
static

Definition at line 114 of file bloaty/third_party/re2/re2/prog.h.

◆ lo_

uint8_t re2::Prog::Inst::lo_

Definition at line 149 of file bloaty/third_party/re2/re2/prog.h.

◆ match_id_

int32_t re2::Prog::Inst::match_id_

Definition at line 145 of file bloaty/third_party/re2/re2/prog.h.

◆ out1_

uint32_t re2::Prog::Inst::out1_

Definition at line 135 of file bloaty/third_party/re2/re2/prog.h.

◆ out_opcode_

uint32_t re2::Prog::Inst::out_opcode_
private

Definition at line 133 of file bloaty/third_party/re2/re2/prog.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:42