public final class EncloseNode extends StateNode implements EncloseType
Modifier and Type | Field and Description |
---|---|
int |
callAddr |
int |
charLength |
Node |
containingAnchor |
int |
maxLength |
int |
minLength |
int |
optCount |
int |
option |
int |
regNum |
Node |
target |
int |
type |
ALLOWED_IN_LB, ALLOWED_IN_LB_NOT, MEMORY, OPTION, STOP_BACKTRACK
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 |
---|
EncloseNode(int type) |
EncloseNode(int option,
boolean isNamed) |
EncloseNode(int option,
int _) |
Modifier and Type | Method and Description |
---|---|
void |
clearEncloseStatus(int flag) |
void |
clearMemory() |
void |
clearOption() |
void |
clearStopBacktrack() |
protected Node |
getChild() |
String |
getName() |
int |
getType() |
boolean |
isMemory() |
boolean |
isOption() |
boolean |
isStopBacktrack() |
protected void |
setChild(Node newChild) |
void |
setEncloseStatus(int flag) |
void |
setMemory() |
void |
setOption() |
void |
setStopBacktrack() |
void |
setTarget(Node tgt) |
String |
toString(int level) |
String |
typeToString() |
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 int type
public int regNum
public int option
public Node target
public int callAddr
public int minLength
public int maxLength
public int charLength
public int optCount
public Node containingAnchor
public EncloseNode(int type)
public EncloseNode(int option, boolean isNamed)
public EncloseNode(int option, int _)
public void setTarget(Node tgt)
public String typeToString()
public void setEncloseStatus(int flag)
public void clearEncloseStatus(int flag)
public void clearMemory()
public void setMemory()
public boolean isMemory()
public void clearOption()
public void setOption()
public boolean isOption()
public void clearStopBacktrack()
public void setStopBacktrack()
public boolean isStopBacktrack()
Copyright © 2018. All rights reserved.