Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.lists.AbstractSequence
gnu.lists.ExtSequence
gnu.lists.LList
gnu.lists.Pair
gnu.lists.PairWithPosition
Pair
with the file name and position it was read from. Field Summary |
Fields inherited from interface gnu.lists.Sequence | |
ATTRIBUTE_VALUE , BOOLEAN_VALUE , CDATA_VALUE , CHAR_VALUE , COMMENT_VALUE , DOCUMENT_VALUE , DOUBLE_VALUE , ELEMENT_VALUE , EOF_VALUE , FLOAT_VALUE , INT_S16_VALUE , INT_S32_VALUE , INT_S64_VALUE , INT_S8_VALUE , INT_U16_VALUE , INT_U32_VALUE , INT_U64_VALUE , INT_U8_VALUE , OBJECT_VALUE , PRIM_VALUE , PROCESSING_INSTRUCTION_VALUE , TEXT_BYTE_VALUE , eofValue |
Constructor Summary | |
| |
| |
|
Method Summary | |
int | |
String | |
int |
|
String | |
String | |
boolean | |
static PairWithPosition |
|
static PairWithPosition |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class gnu.lists.Pair | |
compareTo , compareTo , equals , equals , get , getPosNext , getPosPrevious , hasNext , hashCode , isEmpty , lastPair , length , make , nextPos , readExternal , readResolve , size , toArray , toArray , writeExternal |
Methods inherited from class gnu.lists.LList | |
chain1 , chain4 , checkNonList , compareTo , consX , consume , createPos , createRelativePos , equals , get , getIterator , getPosNext , getPosPrevious , hasNext , isEmpty , length , list1 , list2 , list3 , list4 , listLength , listTail , makeList , makeList , makeList , nextPos , readExternal , readResolve , reverseInPlace , setPosNext , setPosPrevious , size , toString , writeExternal |
Methods inherited from class gnu.lists.ExtSequence | |
copyPos , isAfterPos , nextIndex , releasePos |
public PairWithPosition()
Only for serialization.
public PairWithPosition(Object car, Object cdr)
public final int getColumnNumber()
- Specified by:
- getColumnNumber in interface SourceLocator
public final int getLineNumber()
Get the line number of (the start of) this Expression. The "first" line is line 1; unknown is -1.
- Specified by:
- getLineNumber in interface SourceLocator
public boolean isStableSourceLocation()
- Specified by:
- isStableSourceLocation in interface SourceLocator
public static PairWithPosition make(Object car, Object cdr, String filename, int line, int column)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Overrides:
- readExternal in interface Pair
public final void setFile(String filename)
public final void setLine(int lineno)
public final void setLine(int lineno, int colno)
public void writeExternal(ObjectOutput out) throws IOException
- Overrides:
- writeExternal in interface Pair