org.joni
Class Matcher
java.lang.Object
org.joni.IntHolder
org.joni.Matcher
- All Implemented Interfaces:
- StackType
public final class Matcher
- extends IntHolder
Fields inherited from interface org.joni.constants.StackType |
ALT, CALL_FRAME, INVALID_STACK_INDEX, LOOK_BEHIND_NOT, MASK_MEM_END_OR_MARK, MASK_POP_USED, MASK_TO_VOID_TARGET, MEM_END, MEM_END_MARK, MEM_START, NULL_CHECK_END, NULL_CHECK_START, POS, POS_NOT, REPEAT, REPEAT_INC, RETURN, STATE_CHECK_MARK, STOP_BT, VOID |
Method Summary |
protected byte[] |
cfbuf()
|
protected byte[] |
cfbuf2()
|
protected void |
ensure1()
|
int |
getBegin()
|
Region |
getEagerRegion()
|
int |
getEnd()
|
protected int |
getMemStart(int mnum)
|
Region |
getRegion()
|
protected int |
getRepeat(int id)
|
protected void |
init()
|
int |
match(int at,
int range,
int option)
|
protected int |
matchAt(int range,
int sstart,
int sprev)
|
protected void |
msaInit(int option,
int start)
|
protected int |
nullCheck(int id,
int s)
|
protected int |
nullCheckMemSt(int id,
int s)
|
protected int |
nullCheckMemStRec(int id,
int s)
|
protected int |
nullCheckRec(int id,
int s)
|
protected org.joni.StackEntry |
pop()
|
protected void |
popOne()
|
protected void |
popTilLookBehindNot()
|
protected void |
popTilPosNot()
|
protected int |
posEnd()
|
protected void |
pushAlt(int pat,
int s,
int prev)
|
protected void |
pushAltWithStateCheck(int pat,
int s,
int sprev,
int snum)
|
protected void |
pushCallFrame(int pat)
|
protected void |
pushEnsured(int type,
int pat)
|
protected void |
pushLookBehindNot(int pat,
int s,
int sprev)
|
protected void |
pushMemEnd(int mnum,
int s)
|
protected void |
pushMemEndMark(int mnum)
|
protected void |
pushMemStart(int mnum,
int s)
|
protected void |
pushNullCheckEnd(int cnum)
|
protected void |
pushNullCheckStart(int cnum,
int s)
|
protected void |
pushPos(int s,
int prev)
|
protected void |
pushPosNot(int pat,
int s,
int prev)
|
protected void |
pushRepeat(int id,
int pat)
|
protected void |
pushRepeatInc(int sindex)
|
protected void |
pushReturn()
|
protected void |
pushStateCheck(int s,
int snum)
|
protected void |
pushStopBT()
|
protected void |
pushType(int type)
|
int |
search(int start,
int range,
int option)
|
protected int |
sreturn()
|
protected void |
stateCheckMark()
|
protected void |
stopBtEnd()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bytes
protected final byte[] bytes
str
protected final int str
end
protected final int end
msaRegion
protected final Region msaRegion
msaBestLen
protected int msaBestLen
msaBestS
protected int msaBestS
msaBegin
protected int msaBegin
msaEnd
protected int msaEnd
option
protected final int option
enc
protected final Encoding enc
caseFoldFlag
protected final int caseFoldFlag
stkp
protected int stkp
INVALID_INDEX
protected static final int INVALID_INDEX
- See Also:
- Constant Field Values
stack
protected org.joni.StackEntry[] stack
stk
protected int stk
repeatStk
protected final int[] repeatStk
memStartStk
protected final int memStartStk
memEndStk
protected final int memEndStk
regex
protected final Regex regex
stateCheckBuff
protected byte[] stateCheckBuff
Matcher
public Matcher(Regex regex,
byte[] bytes)
Matcher
public Matcher(Regex regex,
byte[] bytes,
int p,
int end)
getRegion
public final Region getRegion()
getEagerRegion
public final Region getEagerRegion()
getBegin
public final int getBegin()
getEnd
public final int getEnd()
match
public final int match(int at,
int range,
int option)
search
public final int search(int start,
int range,
int option)
msaInit
protected final void msaInit(int option,
int start)
stateCheckMark
protected final void stateCheckMark()
cfbuf
protected final byte[] cfbuf()
cfbuf2
protected final byte[] cfbuf2()
matchAt
protected final int matchAt(int range,
int sstart,
int sprev)
init
protected final void init()
ensure1
protected final void ensure1()
pushType
protected final void pushType(int type)
pushEnsured
protected final void pushEnsured(int type,
int pat)
pushAltWithStateCheck
protected final void pushAltWithStateCheck(int pat,
int s,
int sprev,
int snum)
pushStateCheck
protected final void pushStateCheck(int s,
int snum)
pushAlt
protected final void pushAlt(int pat,
int s,
int prev)
pushPos
protected final void pushPos(int s,
int prev)
pushPosNot
protected final void pushPosNot(int pat,
int s,
int prev)
pushStopBT
protected final void pushStopBT()
pushLookBehindNot
protected final void pushLookBehindNot(int pat,
int s,
int sprev)
pushRepeat
protected final void pushRepeat(int id,
int pat)
pushRepeatInc
protected final void pushRepeatInc(int sindex)
pushMemStart
protected final void pushMemStart(int mnum,
int s)
pushMemEnd
protected final void pushMemEnd(int mnum,
int s)
pushMemEndMark
protected final void pushMemEndMark(int mnum)
getMemStart
protected final int getMemStart(int mnum)
pushNullCheckStart
protected final void pushNullCheckStart(int cnum,
int s)
pushNullCheckEnd
protected final void pushNullCheckEnd(int cnum)
pushCallFrame
protected final void pushCallFrame(int pat)
pushReturn
protected final void pushReturn()
popOne
protected final void popOne()
pop
protected final org.joni.StackEntry pop()
popTilPosNot
protected final void popTilPosNot()
popTilLookBehindNot
protected final void popTilLookBehindNot()
posEnd
protected final int posEnd()
stopBtEnd
protected final void stopBtEnd()
nullCheck
protected final int nullCheck(int id,
int s)
nullCheckRec
protected final int nullCheckRec(int id,
int s)
nullCheckMemSt
protected final int nullCheckMemSt(int id,
int s)
nullCheckMemStRec
protected final int nullCheckMemStRec(int id,
int s)
getRepeat
protected final int getRepeat(int id)
sreturn
protected final int sreturn()
Copyright © 2008. All Rights Reserved.