org.apache.oro.text.regex
Class OpCode

java.lang.Object
  |
  +--org.apache.oro.text.regex.OpCode

final class OpCode
extends Object

The OpCode class should not be instantiated. It is a holder of various constants and static methods pertaining to the manipulation of the op-codes used in a compiled regular expression.

Version:
$Id: OpCode.java,v 1.5 2001/12/02 06:01:40 markm Exp $
Author:
Daniel F. Savarese

Field Summary
(package private) static char _ALNUM
           
(package private) static char _ANY
           
(package private) static char _ANYOF
           
(package private) static char _BACK
           
(package private) static char _BOL
           
(package private) static char _BOUND
           
(package private) static char _BRANCH
           
(package private) static char _CLOSE
           
(package private) static char _CURLY
           
(package private) static char _CURLYX
           
(package private) static char _DIGIT
           
(package private) static char _END
           
(package private) static char _EOL
           
(package private) static char _EXACTLY
           
(package private) static char _GBOL
           
(package private) static char _IFMATCH
           
(package private) static char _MBOL
           
(package private) static char _MEOL
           
(package private) static char _MINMOD
           
(package private) static char _NALNUM
           
(package private) static char _NBOUND
           
(package private) static char _NDIGIT
           
(package private) static char _NOTHING
           
(package private) static char _NSPACE
           
(package private) static int _NULL_OFFSET
           
(package private) static char _NULL_POINTER
           
(package private) static char _OPEN
           
(package private) static int[] _operandLength
           
(package private) static char[] _opLengthOne
           
(package private) static char[] _opLengthVaries
           
(package private) static char[] _opType
           
(package private) static char _PLUS
           
(package private) static char _REF
           
(package private) static char _SANY
           
(package private) static char _SBOL
           
(package private) static char _SEOL
           
(package private) static char _SPACE
           
(package private) static char _STAR
           
(package private) static char _SUCCEED
           
(package private) static char _UNLESSM
           
(package private) static char _WHILEM
           
 
Constructor Summary
private OpCode()
           
 
Method Summary
(package private) static char _getArg1(char[] program, int offset)
           
(package private) static char _getArg2(char[] program, int offset)
           
(package private) static int _getNext(char[] program, int offset)
           
private static int _getNextOffset(char[] program, int offset)
           
(package private) static int _getNextOperator(int offset)
           
(package private) static int _getOperand(int offset)
           
(package private) static int _getPrevOperator(int offset)
           
(package private) static boolean _isInArray(char ch, char[] array, int start)
           
(package private) static boolean _isWordCharacter(char token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_END

static final char _END

_BOL

static final char _BOL

_MBOL

static final char _MBOL

_SBOL

static final char _SBOL

_EOL

static final char _EOL

_MEOL

static final char _MEOL

_SEOL

static final char _SEOL

_ANY

static final char _ANY

_SANY

static final char _SANY

_ANYOF

static final char _ANYOF

_CURLY

static final char _CURLY

_CURLYX

static final char _CURLYX

_BRANCH

static final char _BRANCH

_BACK

static final char _BACK

_EXACTLY

static final char _EXACTLY

_NOTHING

static final char _NOTHING

_STAR

static final char _STAR

_PLUS

static final char _PLUS

_ALNUM

static final char _ALNUM

_NALNUM

static final char _NALNUM

_BOUND

static final char _BOUND

_NBOUND

static final char _NBOUND

_SPACE

static final char _SPACE

_NSPACE

static final char _NSPACE

_DIGIT

static final char _DIGIT

_NDIGIT

static final char _NDIGIT

_REF

static final char _REF

_OPEN

static final char _OPEN

_CLOSE

static final char _CLOSE

_MINMOD

static final char _MINMOD

_GBOL

static final char _GBOL

_IFMATCH

static final char _IFMATCH

_UNLESSM

static final char _UNLESSM

_SUCCEED

static final char _SUCCEED

_WHILEM

static final char _WHILEM

_operandLength

static final int[] _operandLength

_opType

static final char[] _opType

_opLengthVaries

static final char[] _opLengthVaries

_opLengthOne

static final char[] _opLengthOne

_NULL_OFFSET

static final int _NULL_OFFSET

_NULL_POINTER

static final char _NULL_POINTER
Constructor Detail

OpCode

private OpCode()
Method Detail

_getNextOffset

private static final int _getNextOffset(char[] program,
                                        int offset)

_getArg1

static final char _getArg1(char[] program,
                           int offset)

_getArg2

static final char _getArg2(char[] program,
                           int offset)

_getOperand

static final int _getOperand(int offset)

_isInArray

static final boolean _isInArray(char ch,
                                char[] array,
                                int start)

_getNextOperator

static final int _getNextOperator(int offset)

_getPrevOperator

static final int _getPrevOperator(int offset)

_getNext

static final int _getNext(char[] program,
                          int offset)

_isWordCharacter

static final boolean _isWordCharacter(char token)


comments?