public final class QuantifierNode extends StateNode
Modifier and Type | Field and Description |
---|---|
int |
combExpCheckNum |
boolean |
greedy |
Node |
headExact |
boolean |
isRefered |
int |
lower |
Node |
nextHeadExact |
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 |
---|---|
StringNode |
convertToString(int flag) |
protected Node |
getChild() |
String |
getName() |
int |
getType() |
boolean |
isAnyCharStar() |
static boolean |
isRepeatInfinite(int n) |
protected int |
popularNum() |
void |
reduceNestedQuantifier(QuantifierNode other) |
protected void |
set(QuantifierNode other) |
protected void |
setChild(Node newChild) |
int |
setQuantifier(Node tgt,
boolean group,
ScanEnvironment env,
byte[] bytes,
int p,
int end) |
void |
setTarget(Node tgt) |
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, stateToString
getAddressName, getType2Bit, isAllowedInLookBehind, isInvalidQuantifier, isSimple, pad, swap, toString, verifyTree
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
public static final int REPEAT_INFINITE
public void setTarget(Node tgt)
public StringNode convertToString(int flag)
public boolean isAnyCharStar()
protected int popularNum()
protected void set(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)
Copyright © 2018. All rights reserved.