(int which, int i)
| 700 | /// |
| 701 | /// - `i`: Index in input array |
| 702 | protected final void setParenEnd(int which, int i) { |
| 703 | if (which < parenCount) { |
| 704 | switch (which) { |
| 705 | case 0: |
| 706 | end0 = i; |
| 707 | break; |
| 708 | |
| 709 | case 1: |
| 710 | end1 = i; |
| 711 | break; |
| 712 | |
| 713 | case 2: |
| 714 | end2 = i; |
| 715 | break; |
| 716 | |
| 717 | default: |
| 718 | if (endn == null) { |
| 719 | allocParens(); |
| 720 | } |
| 721 | endn[which] = i; |
| 722 | break; |
| 723 | } |
| 724 | } |
| 725 | } |
| 726 | |
| 727 | /// Throws an Error representing an internal error condition probably resulting |
| 728 | /// from a bug in the regular expression compiler (or possibly data corruption). |
no test coverage detected