Biter

regexp
Class RETokenRepeated

java.lang.Object
  |
  +--regexp.REToken
        |
        +--regexp.RETokenRepeated

class RETokenRepeated
extends REToken


Field Summary
private  int max
           
private  int min
           
private  boolean stingy
           
private  REToken token
           
 
Fields inherited from class regexp.REToken
m_next, m_subIndex, m_uncle, newline
 
Constructor Summary
(package private) RETokenRepeated(int f_subIndex, REToken f_token, int f_min, int f_max)
           
 
Method Summary
(package private)  void dump(StringBuffer os)
           
(package private)  int getMinimumLength()
           
(package private)  void makeStingy()
           
(package private)  int[] match(CharIndexed input, int index, int eflags, REMatch mymatch)
           
 
Methods inherited from class regexp.REToken
chain, dumpAll, next, setUncle
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

token

private REToken token

min

private int min

max

private int max

stingy

private boolean stingy
Constructor Detail

RETokenRepeated

RETokenRepeated(int f_subIndex,
                REToken f_token,
                int f_min,
                int f_max)
Method Detail

makeStingy

void makeStingy()

getMinimumLength

int getMinimumLength()
Overrides:
getMinimumLength in class REToken

match

int[] match(CharIndexed input,
            int index,
            int eflags,
            REMatch mymatch)
Overrides:
match in class REToken

dump

void dump(StringBuffer os)
Overrides:
dump in class REToken

Biter

From the Biter project.