Allocate space for n sub-regexps.
| 512 | |
| 513 | // Allocate space for n sub-regexps. |
| 514 | void AllocSub(int n) { |
| 515 | DCHECK(n >= 0 && static_cast<uint16_t>(n) == n); |
| 516 | if (n > 1) |
| 517 | submany_ = new Regexp*[n]; |
| 518 | nsub_ = static_cast<uint16_t>(n); |
| 519 | } |
| 520 | |
| 521 | // Add Rune to LiteralString |
| 522 | void AddRuneToString(Rune r); |
no outgoing calls
no test coverage detected