Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.re
Class RETokenOneOf  view RETokenOneOf download RETokenOneOf.java

java.lang.Object
  extended bycom.memoire.re.REToken
      extended bycom.memoire.re.RETokenOneOf

class RETokenOneOf
extends REToken


Field Summary
protected  REToken m_next
           
protected  int m_subIndex
           
protected  REToken m_uncle
           
private  boolean negative
           
(package private) static java.lang.String newline
           
private  java.util.Vector options
           
 
Constructor Summary
(package private) RETokenOneOf(int f_subIndex, java.lang.String f_options, boolean f_negative, boolean f_insens)
           
(package private) RETokenOneOf(int f_subIndex, java.util.Vector f_options, boolean f_negative)
           
 
Method Summary
(package private)  boolean chain(REToken f_next)
           
(package private)  void dump(java.lang.StringBuffer os)
           
(package private)  void dumpAll(java.lang.StringBuffer os)
           
(package private)  int getMinimumLength()
           
(package private)  int[] match(RECharIndexed input, int index, int eflags, REMatch mymatch)
           
protected  int[] next(RECharIndexed input, int index, int eflags, REMatch mymatch)
           
(package private)  void setUncle(REToken f_uncle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

options

private java.util.Vector options

negative

private boolean negative

newline

static final java.lang.String newline

m_next

protected REToken m_next

m_uncle

protected REToken m_uncle

m_subIndex

protected int m_subIndex
Constructor Detail

RETokenOneOf

RETokenOneOf(int f_subIndex,
             java.lang.String f_options,
             boolean f_negative,
             boolean f_insens)

RETokenOneOf

RETokenOneOf(int f_subIndex,
             java.util.Vector f_options,
             boolean f_negative)
Method Detail

getMinimumLength

int getMinimumLength()
Overrides:
getMinimumLength in class REToken

match

int[] match(RECharIndexed input,
            int index,
            int eflags,
            REMatch mymatch)
Specified by:
match in class REToken

dump

void dump(java.lang.StringBuffer os)
Overrides:
dump in class REToken

chain

boolean chain(REToken f_next)
Overrides:
chain in class REToken

setUncle

void setUncle(REToken f_uncle)

next

protected int[] next(RECharIndexed input,
                     int index,
                     int eflags,
                     REMatch mymatch)

dumpAll

void dumpAll(java.lang.StringBuffer os)