public final class QuantifierNode extends StateNode
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
QuantifierNode.ReduceType |
Node.TopNode| Modifier and Type | Field and Description |
|---|---|
int |
combExpCheckNum |
boolean |
greedy |
Node |
headExact |
boolean |
isRefered |
int |
lower |
Node |
nextHeadExact |
(package private) static java.lang.String[] |
PopularQStr |
(package private) static QuantifierNode.ReduceType[][] |
REDUCE_TABLE |
(package private) static java.lang.String[] |
ReduceQStr |
static int |
REPEAT_INFINITE |
Node |
target |
int |
targetEmptyInfo |
int |
upper |
NST_ADDR_FIXED, NST_BY_NUMBER, NST_CALLED, NST_CLEN_FIXED, NST_IN_REPEAT, NST_MARK1, NST_MARK2, NST_MAX_FIXED, NST_MEM_BACKREFED, NST_MIN_FIXED, NST_NAME_REF, NST_NAMED_GROUP, NST_NEST_LEVEL, NST_RECURSION, NST_STOP_BT_SIMPLE_REPEAT| Constructor and Description |
|---|
QuantifierNode(int lower,
int upper,
boolean byNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copy(QuantifierNode other) |
protected Node |
getChild() |
java.lang.String |
getName() |
boolean |
isAnyCharStar() |
static boolean |
isRepeatInfinite(int n) |
protected int |
popularNum() |
void |
reduceNestedQuantifier(QuantifierNode other) |
protected void |
setChild(Node child) |
int |
setQuantifier(Node tgt,
boolean group,
ScanEnvironment env,
byte[] bytes,
int p,
int end) |
void |
setTarget(Node tgt) |
java.lang.String |
toString(int level) |
clearAddrFixed, clearByNumber, clearCAlled, clearCLenFixed, clearInRepeat, clearMark1, clearMark2, clearMaxFixed, clearMemBackrefed, clearMinFixed, clearNamedGroup, clearNameRef, clearNestLevel, clearRecursion, clearStopBtSimpleRepeat, isAddrFixed, isByNumber, isCalled, isCLenFixed, isInRepeat, isMark1, isMark2, isMaxFixed, isMemBackrefed, isMinFixed, isNamedGroup, isNameRef, isNestLevel, isRecursion, isStopBtSimpleRepeat, setAddrFixed, setByNumber, setCalled, setCLenFixed, setInRepeat, setMark1, setMark2, setMaxFixed, setMemBackrefed, setMinFixed, setNamedGroup, setNameRef, setNestLevel, setRecursion, setStopBtSimpleRepeat, stateToStringgetAddressName, getType, getType2Bit, isSimple, newTop, pad, replaceWith, toStringpublic static final int REPEAT_INFINITE
public Node target
public int lower
public int upper
public boolean greedy
public int targetEmptyInfo
public Node headExact
public Node nextHeadExact
public boolean isRefered
public int combExpCheckNum
static final QuantifierNode.ReduceType[][] REDUCE_TABLE
static final java.lang.String[] PopularQStr
static final java.lang.String[] ReduceQStr
public void setTarget(Node tgt)
public boolean isAnyCharStar()
protected int popularNum()
protected void copy(QuantifierNode other)
public void reduceNestedQuantifier(QuantifierNode other)
public int setQuantifier(Node tgt, boolean group, ScanEnvironment env, byte[] bytes, int p, int end)
public static boolean isRepeatInfinite(int n)