public abstract class RegexTranslator
extends java.lang.Object
?????? | ???? |
---|---|
static class |
RegexTranslator.Range
A Range represents a range of consecutive Unicode codepoints
|
?????? | ????? |
---|---|
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 java.lang.String |
NOT_ALLOWED_CLASS |
protected int |
pos |
protected java.lang.CharSequence |
regExp |
protected FastStringBuffer |
result |
static int |
SOME |
static java.lang.String |
SURROGATES1_CLASS |
static java.lang.String |
SURROGATES2_CLASS |
protected int |
xmlVersion |
?????? |
---|
RegexTranslator() |
?????? | ????? |
---|---|
protected int |
absorbSurrogatePair() |
protected void |
advance() |
protected void |
copyCurChar() |
protected void |
expect(char c) |
protected static java.lang.String |
highSurrogateRanges(java.util.List ranges) |
protected static boolean |
isAsciiAlnum(char c) |
protected static boolean |
isBlock(java.lang.String name) |
protected static boolean |
isJavaMetaChar(int c) |
protected static java.lang.String |
lowSurrogateRanges(java.util.List ranges) |
protected RegexSyntaxException |
makeException(java.lang.String key) |
protected RegexSyntaxException |
makeException(java.lang.String key,
java.lang.String arg) |
protected java.lang.CharSequence |
parseQuantExact() |
protected void |
recede() |
protected static void |
sortRangeList(java.util.List ranges) |
protected abstract boolean |
translateAtom() |
protected void |
translateBranch() |
protected void |
translateQuantifier() |
protected void |
translateQuantity() |
protected void |
translateRegExp() |
protected void |
translateTop() |
protected java.lang.CharSequence regExp
protected int xmlVersion
protected boolean isXPath
protected boolean ignoreWhitespace
protected boolean inCharClassExpr
protected boolean caseBlind
protected int pos
protected int length
protected char curChar
protected boolean eos
protected int currentCapture
protected IntHashSet captures
protected final FastStringBuffer result
public static final int NONE
public static final int SOME
public static final int ALL
public static final java.lang.String SURROGATES1_CLASS
public static final java.lang.String SURROGATES2_CLASS
public static final java.lang.String NOT_ALLOWED_CLASS
protected void translateTop() throws RegexSyntaxException
protected void translateRegExp() throws RegexSyntaxException
protected void translateBranch() throws RegexSyntaxException
protected abstract boolean translateAtom() throws RegexSyntaxException
protected void translateQuantifier() throws RegexSyntaxException
protected void translateQuantity() throws RegexSyntaxException
protected java.lang.CharSequence parseQuantExact() throws RegexSyntaxException
protected void copyCurChar()
protected void advance()
protected int absorbSurrogatePair() throws RegexSyntaxException
protected void recede()
protected void expect(char c) throws RegexSyntaxException
protected RegexSyntaxException makeException(java.lang.String key)
protected RegexSyntaxException makeException(java.lang.String key, java.lang.String arg)
protected static boolean isJavaMetaChar(int c)
protected static java.lang.String highSurrogateRanges(java.util.List ranges)
protected static java.lang.String lowSurrogateRanges(java.util.List ranges)
protected static void sortRangeList(java.util.List ranges)
protected static boolean isBlock(java.lang.String name)
protected static boolean isAsciiAlnum(char c)