eu.bandm.tools.ulex
Class ULex.State
java.lang.Object
eu.bandm.tools.ulex.ULex.State
- All Implemented Interfaces:
- Cloneable
- Enclosing class:
- ULex<T>
public static class ULex.State
- extends Object
- implements Cloneable
Encapsulates the input data, output channels and the current state of the
parsing process; indeed, only the "current read index" position
is dynamic.
data
protected String data
position
protected int position
ULex.State
public ULex.State(String data,
int position)
get_position
public int get_position()
get_restData
public String get_restData()
isAtEnd
public boolean isAtEnd()
toString
public String toString()
- Overrides:
toString
in class Object