Package | Description |
---|---|
com.google.javascript.jscomp.regex |
Modifier and Type | Field and Description |
---|---|
static CharRanges |
CharRanges.ALL_CODE_UNITS |
static CharRanges |
CaseCanonicalize.CASE_SENSITIVE
Set of code units that are case-insensitively equivalent to some other
code unit according to the EcmaScript
Canonicalize operation
described in section 15.10.2.8.
|
(package private) CharRanges |
CaseCanonicalize.DeltaSet.codeUnits |
private static CharRanges |
RegExpTree.DIGITS |
static CharRanges |
CharRanges.EMPTY |
private static CharRanges |
RegExpTree.IE_SPACE_CHARS
IE is broken around \s.
|
private static CharRanges |
RegExpTree.IE_SPEC_ERRORS
IE is broken around \s.
|
(package private) CharRanges |
RegExpTree.Charset.ieExplicits
Code units that were mentioned explicitly and that might be matched by
a group according to ECMAScript 5 but would not because of specification
violations in IE.
|
private static CharRanges |
RegExpTree.INVERSE_WORD_CHARS |
private static CharRanges |
RegExpTree.LCASE_LETTERS |
private static CharRanges |
RegExpTree.LETTERS |
(package private) CharRanges |
RegExpTree.Charset.ranges |
(package private) CharRanges |
RegExpTree.DecomposedCharset.ranges |
private static CharRanges |
RegExpTree.SPACE_CHARS |
private static CharRanges |
CaseCanonicalize.UCASE_ASCII_LETTERS |
private static CharRanges |
RegExpTree.UCASE_LETTERS |
private static CharRanges |
RegExpTree.WORD_CHARS |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.collect.ImmutableMap<java.lang.Character,CharRanges> |
RegExpTree.NAMED_CHAR_GROUPS |
Modifier and Type | Method and Description |
---|---|
CharRanges |
CharRanges.difference(CharRanges subtrahendRanges) |
static CharRanges |
CaseCanonicalize.expandToAllMatched(CharRanges ranges)
Given a character range that may include case sensitive code-units,
such as
[0-9B-M] , returns the character range that includes all
the code-units in the input and those that are case-insensitively
equivalent to a code-unit in the input. |
static CharRanges |
CharRanges.inclusive(int start,
int end) |
CharRanges |
CharRanges.intersection(CharRanges other) |
static CharRanges |
CaseCanonicalize.reduceToMinimum(CharRanges ranges)
Given a character range that may include case sensitive code-units,
such as
[0-9B-M] , returns the character range that includes
the minimal set of code units such that for every code unit in the
input there is a case-sensitively equivalent canonical code unit in the
output. |
CharRanges |
CharRanges.shift(int delta)
Shifts the bits matched by the given delta.
|
CharRanges |
CharRanges.union(CharRanges other) |
static CharRanges |
CharRanges.withMembers(int... members)
Returns an instance containing all and only the given members.
|
static CharRanges |
CharRanges.withRanges(int... ranges)
Returns an instance containing the given ranges.
|
Modifier and Type | Method and Description |
---|---|
(package private) static int |
RegExpTree.DecomposedCharset.complexity(CharRanges ranges) |
private static int |
RegExpTree.Charset.complexityWordFolded(CharRanges ranges) |
private static int |
RegExpTree.Charset.complexityWordFoldedHelper(CharRanges ranges) |
boolean |
CharRanges.containsAll(CharRanges sub) |
private RegExpTree.DecomposedCharset |
RegExpTree.Charset.decompose(CharRanges ranges,
boolean inverted) |
CharRanges |
CharRanges.difference(CharRanges subtrahendRanges) |
static CharRanges |
CaseCanonicalize.expandToAllMatched(CharRanges ranges)
Given a character range that may include case sensitive code-units,
such as
[0-9B-M] , returns the character range that includes all
the code-units in the input and those that are case-insensitively
equivalent to a code-unit in the input. |
CharRanges |
CharRanges.intersection(CharRanges other) |
static CharRanges |
CaseCanonicalize.reduceToMinimum(CharRanges ranges)
Given a character range that may include case sensitive code-units,
such as
[0-9B-M] , returns the character range that includes
the minimal set of code units such that for every code unit in the
input there is a case-sensitively equivalent canonical code unit in the
output. |
CharRanges |
CharRanges.union(CharRanges other) |
Constructor and Description |
---|
Charset(CharRanges ranges,
CharRanges ieExplicits) |
DecomposedCharset(boolean inverted,
CharRanges ranges,
java.lang.String namedGroups) |
DeltaSet(int delta,
CharRanges codeUnits) |