Logo Search packages:      
Sourcecode: jruby-joni version File versions  Download package

Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Package Functions | Package Attributes | Static Package Attributes | Private Member Functions | Private Attributes

org::joni::ByteCodeMachine Class Reference

Inheritance diagram for org::joni::ByteCodeMachine:
Inheritance graph
[legend]
Collaboration diagram for org::joni::ByteCodeMachine:
Collaboration graph
[legend]

List of all members.

Public Member Functions

final int getBegin ()
final Region getEagerRegion ()
final int getEnd ()
final Region getRegion ()
final int match (int at, int range, int option)
final int search (int start, int range, int option)

Public Attributes

final int ALT = 0x0001
final int CALL_FRAME = 0x0800
final int LOOK_BEHIND_NOT = 0x0002
final int MASK_MEM_END_OR_MARK = 0x8000
final int MASK_POP_USED = 0x00ff
final int MASK_TO_VOID_TARGET = 0x10ff
final int MEM_END = 0x8200
final int MEM_END_MARK = 0x8400
final int MEM_START = 0x0100
final int NULL_CHECK_END = 0x5000
final int NULL_CHECK_START = 0x3000
final int POS = 0x0500
final int POS_NOT = 0x0003
final int REPEAT = 0x0700
final int REPEAT_INC = 0x0300
final int RETURN = 0x0900
final int STATE_CHECK_MARK = 0x1000
final int STOP_BT = 0x0600
final int VOID = 0x0a00

Protected Member Functions

final byte[] cfbuf ()
final byte[] cfbuf2 ()
final StackEntry ensure1 ()
final int getMemStart (int mnum)
final int getRepeat (int id)
final void init ()
final int matchAt (int range, int sstart, int sprev)
final void msaInit (int option, int start)
final int nullCheck (int id, int s)
final int nullCheckMemSt (int id, int s)
final int nullCheckMemStRec (int id, int s)
final int nullCheckRec (int id, int s)
final StackEntry pop ()
final void popOne ()
final void popTilLookBehindNot ()
final void popTilPosNot ()
final int posEnd ()
final void pushAlt (int pat, int s, int prev)
final void pushAltWithStateCheck (int pat, int s, int sprev, int snum)
final void pushCallFrame (int pat)
final void pushEnsured (int type, int pat)
final void pushLookBehindNot (int pat, int s, int sprev)
final void pushMemEnd (int mnum, int s)
final void pushMemEndMark (int mnum)
final void pushMemStart (int mnum, int s)
final void pushNullCheckEnd (int cnum)
final void pushNullCheckStart (int cnum, int s)
final void pushPos (int s, int prev)
final void pushPosNot (int pat, int s, int prev)
final void pushRepeat (int id, int pat)
final void pushRepeatInc (int sindex)
final void pushReturn ()
final void pushStateCheck (int s, int snum)
final void pushStopBT ()
final void pushType (int type)
final int sreturn ()
final void stateCheckBuffClear ()
final void stateCheckBuffInit (int strLength, int offset, int stateNum)
final boolean stateCheckVal (int s, int snum)
final void stopBtEnd ()

Protected Attributes

final byte[] bytes
final Encoding enc
final int end
final int memStartStk
int msaBegin
int msaBestLen
int msaBestS
int msaEnd
int msaOptions
final Region msaRegion
int msaStart
final Regex regex
final int[] repeatStk
StackEntry[] stack
byte[] stateCheckBuff
int stk
int stkp
final int str

Static Protected Attributes

static final int INVALID_INDEX = -1

Package Functions

 ByteCodeMachine (Regex regex, byte[]bytes, int p, int end)

Package Attributes

int high
final int INVALID_STACK_INDEX = -1
int low
final int memEndStk
int stateCheckBuffSize

Static Package Attributes

static final ThreadLocal
< WeakReference< StackEntry[]> > 
stacks

Private Member Functions

void backref (int mem)
int backrefEnd (int mem)
boolean backrefInvalid (int mem)
boolean backrefMatchAtNestedLevel (boolean ignoreCase, int caseFoldFlag, int nest, int memNum, int memp)
int backrefStart (int mem)
void checkCaptureHistory (Region region)
void debugMatchBegin ()
void debugMatchLoop ()
boolean endBestLength ()
int finish ()
boolean isInBitSet ()
boolean isInClassMB ()
boolean isNotInClassMB ()
boolean makeCaptureHistoryTree (CaptureTreeNode node)
boolean memIsInMemp (int mem, int num, int memp)
void nullCheckFound ()
void opAnyChar ()
void opAnyCharML ()
void opAnyCharMLSb ()
void opAnyCharMLStar ()
void opAnyCharMLStarPeekNext ()
void opAnyCharMLStarPeekNextSb ()
void opAnyCharMLStarSb ()
void opAnyCharSb ()
void opAnyCharStar ()
void opAnyCharStarPeekNext ()
void opAnyCharStarPeekNextSb ()
void opAnyCharStarSb ()
void opBackRef1 ()
void opBackRef2 ()
void opBackRefAtLevel ()
void opBackRefMulti ()
void opBackRefMultiIC ()
void opBackRefN ()
void opBackRefNIC ()
void opBeginBuf ()
void opBeginLine ()
void opBeginPosition ()
void opCall ()
void opCClass ()
void opCClassMB ()
void opCClassMBNot ()
void opCClassMIX ()
void opCClassMIXNot ()
void opCClassNode ()
void opCClassNot ()
void opCClassNotSb ()
void opCClassSb ()
boolean opEnd ()
void opEndBuf ()
void opEndLine ()
void opExact1 ()
void opExact1IC ()
void opExact1ICSb ()
void opExact2 ()
void opExact3 ()
void opExact4 ()
void opExact5 ()
void opExactMB2N ()
void opExactMB2N1 ()
void opExactMB2N2 ()
void opExactMB2N3 ()
void opExactMB3N ()
void opExactMBN ()
void opExactN ()
void opExactNIC ()
void opExactNICSb ()
void opFail ()
void opFailLookBehindNot ()
void opFailPos ()
void opJump ()
void opLookBehind ()
void opLookBehindSb ()
void opMemoryEnd ()
void opMemoryEndPush ()
void opMemoryEndPushRec ()
void opMemoryEndRec ()
void opMemoryStart ()
void opMemoryStartPush ()
void opNotWord ()
void opNotWordBound ()
void opNotWordBoundSb ()
void opNotWordSb ()
void opNullCheckEnd ()
void opNullCheckEndMemST ()
void opNullCheckEndMemSTPush ()
void opNullCheckStart ()
void opPop ()
void opPopPos ()
void opPopStopBT ()
void opPush ()
void opPushIfPeekNext ()
void opPushLookBehindNot ()
void opPushOrJumpExact1 ()
void opPushPos ()
void opPushPosNot ()
void opPushStopBT ()
void opRepeat ()
void opRepeatInc ()
void opRepeatIncNG ()
void opRepeatIncNGSG ()
void opRepeatIncSG ()
void opRepeatNG ()
void opReturn ()
void opSemiEndBuf ()
void opSetOption ()
void opSetOptionPush ()
void opStateCheck ()
void opStateCheckAnyCharMLStar ()
void opStateCheckAnyCharMLStarSb ()
void opStateCheckAnyCharStar ()
void opStateCheckAnyCharStarSb ()
void opStateCheckPush ()
void opStateCheckPushOrJump ()
void opWord ()
void opWordBegin ()
void opWordBeginSb ()
void opWordBound ()
void opWordBoundSb ()
void opWordEnd ()
void opWordEndSb ()
void opWordSb ()
void repeatInc (int mem, int si)
void repeatIncNG (int mem, int si)
boolean stringCmpIC (int caseFlodFlag, int s1, IntHolder ps2, int mbLen, int textEnd)

Private Attributes

int bestLen
byte[] cfbuf
byte[] cfbuf2
final int[] code
int ip
int range
int s = 0
int sbegin
int sprev
int sstart

Detailed Description

Definition at line 39 of file ByteCodeMachine.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index