MCPcopy Create free account
hub / github.com/google/re2j / appendClassWithSign

Method appendClassWithSign

java/com/google/re2j/CharClass.java:275–277  ·  view source on GitHub ↗
(int[] x, int sign)

Source from the content-addressed store, hash-verified

273 // appendClassWithSign() calls appendClass() if sign is +1 or
274 // appendNegatedClass if sign is -1. Does not mutate |x|.
275 CharClass appendClassWithSign(int[] x, int sign) {
276 return sign < 0 ? appendNegatedClass(x) : appendClass(x);
277 }
278
279 // appendGroup() appends CharGroup |g| to this CharClass, folding iff
280 // |foldCase|. Does not mutate |g|.

Callers 2

appendGroupMethod · 0.95
parseUnicodeClassMethod · 0.80

Calls 2

appendNegatedClassMethod · 0.95
appendClassMethod · 0.95

Tested by

no test coverage detected