(int[] x)
| 173 | // appendFoldedClass() appends the case folding of the class |x| to this |
| 174 | // CharClass. Does not mutate |x|. |
| 175 | CharClass appendFoldedClass(int[] x) { |
| 176 | for (int i = 0; i < x.length; i += 2) { |
| 177 | appendFoldedRange(x[i], x[i + 1]); |
| 178 | } |
| 179 | return this; |
| 180 | } |
| 181 | |
| 182 | // appendNegatedClass() append the negation of the class |x| to this |
| 183 | // CharClass. It assumes |x| is clean. Does not mutate |x|. |