Public Member Functions | Private Member Functions | Private Attributes | List of all members
re2::Regexp::ParseState Class Reference

Public Member Functions

void DoAlternation ()
 
void DoAlternation ()
 
void DoCollapse (RegexpOp op)
 
void DoCollapse (RegexpOp op)
 
void DoConcatenation ()
 
void DoConcatenation ()
 
RegexpDoFinish ()
 
RegexpDoFinish ()
 
bool DoLeftParen (const StringPiece &name)
 
bool DoLeftParen (const StringPiece &name)
 
bool DoLeftParenNoCapture ()
 
bool DoLeftParenNoCapture ()
 
bool DoRightParen ()
 
bool DoRightParen ()
 
bool DoVerticalBar ()
 
bool DoVerticalBar ()
 
RegexpFinishRegexp (Regexp *)
 
RegexpFinishRegexp (Regexp *)
 
ParseFlags flags ()
 
ParseFlags flags ()
 
bool IsMarker (RegexpOp op)
 
bool IsMarker (RegexpOp op)
 
bool MaybeConcatString (int r, ParseFlags flags)
 
bool MaybeConcatString (int r, ParseFlags flags)
 
bool ParseCCCharacter (StringPiece *s, Rune *rp, const StringPiece &whole_class, RegexpStatus *status)
 
bool ParseCCCharacter (StringPiece *s, Rune *rp, const StringPiece &whole_class, RegexpStatus *status)
 
bool ParseCCRange (StringPiece *s, RuneRange *rr, const StringPiece &whole_class, RegexpStatus *status)
 
bool ParseCCRange (StringPiece *s, RuneRange *rr, const StringPiece &whole_class, RegexpStatus *status)
 
bool ParseCharClass (StringPiece *s, Regexp **out_re, RegexpStatus *status)
 
bool ParseCharClass (StringPiece *s, Regexp **out_re, RegexpStatus *status)
 
bool ParsePerlFlags (StringPiece *s)
 
bool ParsePerlFlags (StringPiece *s)
 
 ParseState (ParseFlags flags, const StringPiece &whole_regexp, RegexpStatus *status)
 
 ParseState (ParseFlags flags, const StringPiece &whole_regexp, RegexpStatus *status)
 
bool PushCarat ()
 
bool PushCaret ()
 
bool PushDollar ()
 
bool PushDollar ()
 
bool PushDot ()
 
bool PushDot ()
 
bool PushLiteral (Rune r)
 
bool PushLiteral (Rune r)
 
bool PushRegexp (Regexp *re)
 
bool PushRegexp (Regexp *re)
 
bool PushRepeatOp (RegexpOp op, const StringPiece &s, bool nongreedy)
 
bool PushRepeatOp (RegexpOp op, const StringPiece &s, bool nongreedy)
 
bool PushRepetition (int min, int max, const StringPiece &s, bool nongreedy)
 
bool PushRepetition (int min, int max, const StringPiece &s, bool nongreedy)
 
bool PushSimpleOp (RegexpOp op)
 
bool PushSimpleOp (RegexpOp op)
 
bool PushWordBoundary (bool word)
 
bool PushWordBoundary (bool word)
 
int rune_max ()
 
int rune_max ()
 
 ~ParseState ()
 
 ~ParseState ()
 

Private Member Functions

ParseStateoperator= (const ParseState &)=delete
 
ParseStateoperator= (const ParseState &)=delete
 
 ParseState (const ParseState &)=delete
 
 ParseState (const ParseState &)=delete
 

Private Attributes

ParseFlags flags_
 
int ncap_
 
int rune_max_
 
Regexpstacktop_
 
RegexpStatusstatus_
 
StringPiece whole_regexp_
 

Detailed Description

Definition at line 71 of file bloaty/third_party/re2/re2/parse.cc.

Constructor & Destructor Documentation

◆ ParseState() [1/4]

re2::Regexp::ParseState::ParseState ( ParseFlags  flags,
const StringPiece whole_regexp,
RegexpStatus status 
)

Definition at line 194 of file bloaty/third_party/re2/re2/parse.cc.

◆ ~ParseState() [1/2]

re2::Regexp::ParseState::~ParseState ( )

Definition at line 206 of file bloaty/third_party/re2/re2/parse.cc.

◆ ParseState() [2/4]

re2::Regexp::ParseState::ParseState ( const ParseState )
privatedelete

◆ ParseState() [3/4]

re2::Regexp::ParseState::ParseState ( ParseFlags  flags,
const StringPiece whole_regexp,
RegexpStatus status 
)

◆ ~ParseState() [2/2]

re2::Regexp::ParseState::~ParseState ( )

◆ ParseState() [4/4]

re2::Regexp::ParseState::ParseState ( const ParseState )
privatedelete

Member Function Documentation

◆ DoAlternation() [1/2]

void re2::Regexp::ParseState::DoAlternation ( )

Definition at line 1256 of file bloaty/third_party/re2/re2/parse.cc.

◆ DoAlternation() [2/2]

void re2::Regexp::ParseState::DoAlternation ( )

◆ DoCollapse() [1/2]

void re2::Regexp::ParseState::DoCollapse ( RegexpOp  op)

Definition at line 1202 of file bloaty/third_party/re2/re2/parse.cc.

◆ DoCollapse() [2/2]

void re2::Regexp::ParseState::DoCollapse ( RegexpOp  op)

◆ DoConcatenation() [1/2]

void re2::Regexp::ParseState::DoConcatenation ( )

Definition at line 1244 of file bloaty/third_party/re2/re2/parse.cc.

◆ DoConcatenation() [2/2]

void re2::Regexp::ParseState::DoConcatenation ( )

◆ DoFinish() [1/2]

Regexp * re2::Regexp::ParseState::DoFinish ( )

Definition at line 714 of file bloaty/third_party/re2/re2/parse.cc.

◆ DoFinish() [2/2]

Regexp* re2::Regexp::ParseState::DoFinish ( )

◆ DoLeftParen() [1/2]

bool re2::Regexp::ParseState::DoLeftParen ( const StringPiece name)

◆ DoLeftParen() [2/2]

bool re2::Regexp::ParseState::DoLeftParen ( const StringPiece name)

Definition at line 609 of file bloaty/third_party/re2/re2/parse.cc.

◆ DoLeftParenNoCapture() [1/2]

bool re2::Regexp::ParseState::DoLeftParenNoCapture ( )

◆ DoLeftParenNoCapture() [2/2]

bool re2::Regexp::ParseState::DoLeftParenNoCapture ( )

Definition at line 618 of file bloaty/third_party/re2/re2/parse.cc.

◆ DoRightParen() [1/2]

bool re2::Regexp::ParseState::DoRightParen ( )

Definition at line 675 of file bloaty/third_party/re2/re2/parse.cc.

◆ DoRightParen() [2/2]

bool re2::Regexp::ParseState::DoRightParen ( )

◆ DoVerticalBar() [1/2]

bool re2::Regexp::ParseState::DoVerticalBar ( )

◆ DoVerticalBar() [2/2]

bool re2::Regexp::ParseState::DoVerticalBar ( )

Definition at line 625 of file bloaty/third_party/re2/re2/parse.cc.

◆ FinishRegexp() [1/2]

Regexp * re2::Regexp::ParseState::FinishRegexp ( Regexp re)

Definition at line 220 of file bloaty/third_party/re2/re2/parse.cc.

◆ FinishRegexp() [2/2]

Regexp* re2::Regexp::ParseState::FinishRegexp ( Regexp )

◆ flags() [1/2]

ParseFlags re2::Regexp::ParseState::flags ( )
inline

Definition at line 77 of file re2/re2/parse.cc.

◆ flags() [2/2]

ParseFlags re2::Regexp::ParseState::flags ( )
inline

Definition at line 77 of file bloaty/third_party/re2/re2/parse.cc.

◆ IsMarker() [1/2]

bool re2::Regexp::ParseState::IsMarker ( RegexpOp  op)

◆ IsMarker() [2/2]

bool re2::Regexp::ParseState::IsMarker ( RegexpOp  op)

Definition at line 603 of file bloaty/third_party/re2/re2/parse.cc.

◆ MaybeConcatString() [1/2]

bool re2::Regexp::ParseState::MaybeConcatString ( int  r,
ParseFlags  flags 
)

Definition at line 1275 of file bloaty/third_party/re2/re2/parse.cc.

◆ MaybeConcatString() [2/2]

bool re2::Regexp::ParseState::MaybeConcatString ( int  r,
ParseFlags  flags 
)

◆ operator=() [1/2]

ParseState& re2::Regexp::ParseState::operator= ( const ParseState )
privatedelete

◆ operator=() [2/2]

ParseState& re2::Regexp::ParseState::operator= ( const ParseState )
privatedelete

◆ ParseCCCharacter() [1/2]

bool re2::Regexp::ParseState::ParseCCCharacter ( StringPiece s,
Rune rp,
const StringPiece whole_class,
RegexpStatus status 
)

Definition at line 1858 of file bloaty/third_party/re2/re2/parse.cc.

◆ ParseCCCharacter() [2/2]

bool re2::Regexp::ParseState::ParseCCCharacter ( StringPiece s,
Rune rp,
const StringPiece whole_class,
RegexpStatus status 
)

◆ ParseCCRange() [1/2]

bool re2::Regexp::ParseState::ParseCCRange ( StringPiece s,
RuneRange rr,
const StringPiece whole_class,
RegexpStatus status 
)

Definition at line 1881 of file bloaty/third_party/re2/re2/parse.cc.

◆ ParseCCRange() [2/2]

bool re2::Regexp::ParseState::ParseCCRange ( StringPiece s,
RuneRange rr,
const StringPiece whole_class,
RegexpStatus status 
)

◆ ParseCharClass() [1/2]

bool re2::Regexp::ParseState::ParseCharClass ( StringPiece s,
Regexp **  out_re,
RegexpStatus status 
)

Definition at line 1907 of file bloaty/third_party/re2/re2/parse.cc.

◆ ParseCharClass() [2/2]

bool re2::Regexp::ParseState::ParseCharClass ( StringPiece s,
Regexp **  out_re,
RegexpStatus status 
)

◆ ParsePerlFlags() [1/2]

bool re2::Regexp::ParseState::ParsePerlFlags ( StringPiece s)

◆ ParsePerlFlags() [2/2]

bool re2::Regexp::ParseState::ParsePerlFlags ( StringPiece s)

Definition at line 2038 of file bloaty/third_party/re2/re2/parse.cc.

◆ PushCarat()

bool re2::Regexp::ParseState::PushCarat ( )

Definition at line 426 of file bloaty/third_party/re2/re2/parse.cc.

◆ PushCaret()

bool re2::Regexp::ParseState::PushCaret ( )

Definition at line 426 of file re2/re2/parse.cc.

◆ PushDollar() [1/2]

bool re2::Regexp::ParseState::PushDollar ( )

Definition at line 441 of file bloaty/third_party/re2/re2/parse.cc.

◆ PushDollar() [2/2]

bool re2::Regexp::ParseState::PushDollar ( )

◆ PushDot() [1/2]

bool re2::Regexp::ParseState::PushDot ( )

◆ PushDot() [2/2]

bool re2::Regexp::ParseState::PushDot ( )

Definition at line 455 of file bloaty/third_party/re2/re2/parse.cc.

◆ PushLiteral() [1/2]

bool re2::Regexp::ParseState::PushLiteral ( Rune  r)

Definition at line 397 of file bloaty/third_party/re2/re2/parse.cc.

◆ PushLiteral() [2/2]

bool re2::Regexp::ParseState::PushLiteral ( Rune  r)

◆ PushRegexp() [1/2]

bool re2::Regexp::ParseState::PushRegexp ( Regexp re)

Definition at line 237 of file bloaty/third_party/re2/re2/parse.cc.

◆ PushRegexp() [2/2]

bool re2::Regexp::ParseState::PushRegexp ( Regexp re)

◆ PushRepeatOp() [1/2]

bool re2::Regexp::ParseState::PushRepeatOp ( RegexpOp  op,
const StringPiece s,
bool  nongreedy 
)

Definition at line 475 of file bloaty/third_party/re2/re2/parse.cc.

◆ PushRepeatOp() [2/2]

bool re2::Regexp::ParseState::PushRepeatOp ( RegexpOp  op,
const StringPiece s,
bool  nongreedy 
)

◆ PushRepetition() [1/2]

bool re2::Regexp::ParseState::PushRepetition ( int  min,
int  max,
const StringPiece s,
bool  nongreedy 
)

◆ PushRepetition() [2/2]

bool re2::Regexp::ParseState::PushRepetition ( int  min,
int  max,
const StringPiece s,
bool  nongreedy 
)

Definition at line 567 of file bloaty/third_party/re2/re2/parse.cc.

◆ PushSimpleOp() [1/2]

bool re2::Regexp::ParseState::PushSimpleOp ( RegexpOp  op)

◆ PushSimpleOp() [2/2]

bool re2::Regexp::ParseState::PushSimpleOp ( RegexpOp  op)

Definition at line 467 of file bloaty/third_party/re2/re2/parse.cc.

◆ PushWordBoundary() [1/2]

bool re2::Regexp::ParseState::PushWordBoundary ( bool  word)

Definition at line 434 of file bloaty/third_party/re2/re2/parse.cc.

◆ PushWordBoundary() [2/2]

bool re2::Regexp::ParseState::PushWordBoundary ( bool  word)

◆ rune_max() [1/2]

int re2::Regexp::ParseState::rune_max ( )
inline

Definition at line 78 of file re2/re2/parse.cc.

◆ rune_max() [2/2]

int re2::Regexp::ParseState::rune_max ( )
inline

Definition at line 78 of file bloaty/third_party/re2/re2/parse.cc.

Member Data Documentation

◆ flags_

ParseFlags re2::Regexp::ParseState::flags_
private

Definition at line 179 of file bloaty/third_party/re2/re2/parse.cc.

◆ ncap_

int re2::Regexp::ParseState::ncap_
private

Definition at line 183 of file bloaty/third_party/re2/re2/parse.cc.

◆ rune_max_

int re2::Regexp::ParseState::rune_max_
private

Definition at line 184 of file bloaty/third_party/re2/re2/parse.cc.

◆ stacktop_

Regexp * re2::Regexp::ParseState::stacktop_
private

Definition at line 182 of file bloaty/third_party/re2/re2/parse.cc.

◆ status_

RegexpStatus * re2::Regexp::ParseState::status_
private

Definition at line 181 of file bloaty/third_party/re2/re2/parse.cc.

◆ whole_regexp_

StringPiece re2::Regexp::ParseState::whole_regexp_
private

Definition at line 180 of file bloaty/third_party/re2/re2/parse.cc.


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


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