net.sf.saxon.regex
public abstract class RegexTranslator extends Object
| Nested Class Summary | |
|---|---|
| static class | RegexTranslator.Range
A Range represents a range of consecutive Unicode codepoints |
| Field Summary | |
|---|---|
| static int | ALL |
| protected IntHashSet | captures |
| protected boolean | caseBlind |
| protected char | curChar |
| protected int | currentCapture |
| protected boolean | eos |
| protected boolean | ignoreWhitespace |
| protected boolean | inCharClassExpr |
| protected boolean | isXPath |
| protected int | length |
| static int | NONE |
| static String | NOT_ALLOWED_CLASS |
| protected int | pos |
| protected CharSequence | regExp |
| protected FastStringBuffer | result |
| static int | SOME |
| static String | SURROGATES1_CLASS |
| static String | SURROGATES2_CLASS |
| protected int | xmlVersion |
| Method Summary | |
|---|---|
| protected int | absorbSurrogatePair() |
| protected void | advance() |
| protected void | copyCurChar() |
| protected void | expect(char c) |
| protected static String | highSurrogateRanges(List ranges) |
| protected static boolean | isAsciiAlnum(char c) |
| protected static boolean | isBlock(String name) |
| protected static boolean | isJavaMetaChar(int c) |
| protected static String | lowSurrogateRanges(List ranges) |
| protected RegexSyntaxException | makeException(String key) |
| protected RegexSyntaxException | makeException(String key, String arg) |
| protected CharSequence | parseQuantExact() |
| protected void | recede() |
| protected static void | sortRangeList(List ranges) |
| protected abstract boolean | translateAtom() |
| protected void | translateBranch() |
| protected void | translateQuantifier() |
| protected void | translateQuantity() |
| protected void | translateRegExp() |
| protected void | translateTop() |