Home | History | Annotate | Download | only in re2

Lines Matching defs:ParseState

9 // of the ParseState class.  The Regexp::Parse function is
10 // essentially just a lexer that calls the ParseState method
45 class Regexp::ParseState {
47 ParseState(ParseFlags flags, const StringPiece& whole_regexp,
49 ~ParseState();
160 DISALLOW_EVIL_CONSTRUCTORS(ParseState);
167 Regexp::ParseState::ParseState(ParseFlags flags,
179 Regexp::ParseState::~ParseState() {
193 Regexp* Regexp::ParseState::FinishRegexp(Regexp* re) {
210 bool Regexp::ParseState::PushRegexp(Regexp* re) {
369 bool Regexp::ParseState::PushLiteral(Rune r) {
399 bool Regexp::ParseState::PushCarat() {
407 bool Regexp::ParseState::PushWordBoundary(bool word) {
414 bool Regexp::ParseState::PushDollar() {
428 bool Regexp::ParseState::PushDot() {
440 bool Regexp::ParseState::PushSimpleOp(RegexpOp op) {
448 bool Regexp::ParseState::PushRepeatOp(RegexpOp op, const StringPiece& s,
469 bool Regexp::ParseState::PushRepetition(int min, int max,
498 bool Regexp::ParseState::IsMarker(RegexpOp op) {
504 bool Regexp::ParseState::DoLeftParen(const StringPiece& name) {
513 bool Regexp::ParseState::DoLeftParenNoCapture() {
527 bool Regexp::ParseState::DoVerticalBar() {
589 bool Regexp::ParseState::DoRightParen() {
628 Regexp* Regexp::ParseState::DoFinish() {
998 void Regexp::ParseState::DoCollapse(RegexpOp op) {
1041 void Regexp::ParseState::DoConcatenation() {
1053 void Regexp::ParseState::DoAlternation() {
1072 bool Regexp::ParseState::MaybeConcatString(int r, ParseFlags flags) {
1608 bool Regexp::ParseState::ParseCCCharacter(StringPiece* s, Rune *rp,
1631 bool Regexp::ParseState::ParseCCRange(StringPiece* s, RuneRange* rr,
1656 bool Regexp::ParseState::ParseCharClass(StringPiece* s,
1788 bool Regexp::ParseState::ParsePerlFlags(StringPiece* s) {
1793 LOG(DFATAL) << "Bad call to ParseState::ParsePerlFlags";
1955 ParseState ps(global_flags, s, status);