gnu.regexp
Class RETokenLookAhead

java.lang.Object
  extended by gnu.regexp.REToken
      extended by gnu.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
           
(package private)  REToken re
           
 
Fields inherited from class gnu.regexp.REToken
next, subIndex, uncle
 
Constructor Summary
RETokenLookAhead(REToken re, boolean negative)
           
 
Method Summary
(package private)  void dump(java.lang.StringBuffer os)
           
(package private)  boolean match(CharIndexed input, REMatch mymatch)
          Returns true if the match succeeded, false if it failed.
 
Methods inherited from class gnu.regexp.REToken
chain, dumpAll, getMinimumLength, next, setUncle
 
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
Constructor Detail

RETokenLookAhead

RETokenLookAhead(REToken re,
                 boolean negative)
           throws REException
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