gnu.regexp
Class RETokenLookAhead

java.lang.Object
  extended bygnu.regexp.REToken
      extended bygnu.regexp.RETokenLookAhead
All Implemented Interfaces:
java.io.Serializable

final class RETokenLookAhead
extends REToken

Since:
gnu.regexp 1.1.3
Author:
Shashank Bapat

Field Summary
(package private)  boolean negative
           
protected  REToken next
           
(package private)  REToken re
           
protected  int subIndex
           
protected  REToken uncle
           
 
Constructor Summary
(package private) RETokenLookAhead(REToken re, boolean negative)
           
 
Method Summary
(package private)  boolean chain(REToken token)
           
(package private)  void dump(java.lang.StringBuffer os)
           
(package private)  void dumpAll(java.lang.StringBuffer os)
           
(package private)  int getMinimumLength()
           
(package private)  boolean match(CharIndexed input, REMatch mymatch)
          Returns true if the match succeeded, false if it failed.
protected  boolean next(CharIndexed input, REMatch mymatch)
          Returns true if the rest of the tokens match, false if they fail.
(package private)  void setUncle(REToken anUncle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

re

REToken re

negative

boolean negative

next

protected REToken next

uncle

protected REToken uncle

subIndex

protected int subIndex
Constructor Detail

RETokenLookAhead

RETokenLookAhead(REToken re,
                 boolean negative)
           throws REException
Method Detail

match

boolean match(CharIndexed input,
              REMatch mymatch)
Description copied from class: REToken
Returns true if the match succeeded, false if it failed.

Specified by:
match in class REToken

dump

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

getMinimumLength

int getMinimumLength()

setUncle

void setUncle(REToken anUncle)

next

protected boolean next(CharIndexed input,
                       REMatch mymatch)
Returns true if the rest of the tokens match, false if they fail.


chain

boolean chain(REToken token)

dumpAll

void dumpAll(java.lang.StringBuffer os)