ix.util.lisp
Class LispReader
java.lang.Object
ix.util.lisp.LispReader
- Direct Known Subclasses:
- LispFileReader, LispProgramReader, LTF_Parser.IncludeReader
public class LispReader
- extends java.lang.Object
A LispReader can be used to read Objects using a Lisp-like syntax.
- See Also:
LispFileReader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tk
protected LispTokenizer tk
inStream
protected java.io.InputStream inStream
inReader
protected java.io.Reader inReader
singleQuoteIsMacro
protected boolean singleQuoteIsMacro
LispReader
public LispReader(LispTokenizer tk)
LispReader
public LispReader(java.io.InputStream is)
LispReader
public LispReader(java.io.Reader r)
LispReader
public LispReader(java.lang.String s)
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
setSingleQuoteIsMacro
public void setSingleQuoteIsMacro(boolean v)
safeRead
public java.lang.Object safeRead(java.lang.Object errValue)
safeRead
public java.lang.Object safeRead()
readObject
public java.lang.Object readObject()
reader
protected java.lang.Object reader()
tryAsNumber
protected java.lang.Object tryAsNumber(java.lang.String name)
listreader
protected LList listreader()