Lines Matching refs:peek
22 char RegexParser::peek() { in peek() function in RegexParser
30 if (this->peek() != c) { in expect()
31 printf("expected '%c' at index %d, but found '%c'", c, (int) fIndex, this->peek()); in expect()
44 switch (this->peek()) { in term()
54 switch (this->peek()) { in quantifiedTerm()
65 switch (this->peek()) { in sequence()
89 char c = this->peek(); in literal()
92 fStack.push(this->escapeSequence(peek())); in literal()
114 if (this->peek() == '-') { in setItem()
116 if (peek() == ']') { in setItem()
134 if (this->peek() == '^') { in set()
142 switch (this->peek()) { in set()
161 switch (this->peek()) { in regex()