gnu.kawa.lispexpr
Class ReaderParens
java.lang.Object
gnu.kawa.lispexpr.ReadTableEntry
gnu.kawa.lispexpr.ReaderParens
public class ReaderParens
- extends ReadTableEntry
Constructor Summary |
ReaderParens(char open,
char close,
int kind)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReaderParens
public ReaderParens(char open,
char close,
int kind)
getKind
public int getKind()
- Overrides:
getKind
in class ReadTableEntry
getInstance
public static ReaderParens getInstance(char open,
char close)
getInstance
public static ReaderParens getInstance(char open,
char close,
int kind)
read
public java.lang.Object read(Lexer in,
int ch,
int count)
throws java.io.IOException,
SyntaxException
- Read a list (possibly improper) of zero or more Scheme forms.
Assumes '(' has been read.
- Overrides:
read
in class ReadTableEntry
- Throws:
java.io.IOException
SyntaxException
readList
public static java.lang.Object readList(LispReader lexer,
int ch,
int count,
int close)
throws java.io.IOException,
SyntaxException
- Throws:
java.io.IOException
SyntaxException