Send bugs or comments to Bernd Kühl (bernd@informatik.uni-osnabrueck.de)

lolo.scans
Class Scan

java.lang.Object
  |
  +--lolo.Scan
        |
        +--lolo.scans.Scan
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Flt, QuotedChar, QuotedText, Set, SimpleIdentifier, SimpleWhitespace, SlashSlashComment, Word

abstract class Scan
extends Scan

A package base class for all lolo.Scan subclasses.

Author:
Bernd Kühl (bernd@informatik.uni-osnabrueck.de)
See Also:
Scan, Serialized Form

Inner classes inherited from class lolo.Scan
Scan.Action, Scan.State
 
Field Summary
protected  boolean reset
          May be used in subclasses to mark already reseted objects.
protected  Scan.State stateObject
          A State object which can be used in subclasses as result for nextChar().
 
Fields inherited from class lolo.Scan
action, ignore
 
Constructor Summary
(package private) Scan()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 int hashCode()
          Returns the hash code of the Class object as hash code value for the object.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class lolo.Scan
action, getAction, getIgnore, nextChar, reset, setAction, setIgnore
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

stateObject

protected final Scan.State stateObject
A State object which can be used in subclasses as result for nextChar().
See Also:
Scan.State, Scan.nextChar(char)

reset

protected transient boolean reset
May be used in subclasses to mark already reseted objects.
Constructor Detail

Scan

Scan()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
Overrides:
equals in class Scan
Returns:
true if this and obj are from the same class, false otherwise.

hashCode

public int hashCode()
Returns the hash code of the Class object as hash code value for the object.
Overrides:
hashCode in class Scan
Returns:
this.getClass().hashCode()

toString

public java.lang.String toString()
Returns a string representation of the object.
Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object.

Send bugs or comments to Bernd Kühl (bernd@informatik.uni-osnabrueck.de)