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,
java.lang.Object command)
|
Method Summary |
static ReaderParens |
getInstance(char open,
char close)
|
static ReaderParens |
getInstance(char open,
char close,
int kind)
|
static ReaderParens |
getInstance(char open,
char close,
int kind,
java.lang.Object command)
|
int |
getKind()
|
java.lang.Object |
read(Lexer in,
int ch,
int count)
Read a list (possibly improper) of zero or more Scheme forms. |
static java.lang.Object |
readList(LispReader lexer,
int ch,
int count,
int close)
|
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,
java.lang.Object command)
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)
getInstance
public static ReaderParens getInstance(char open,
char close,
int kind,
java.lang.Object command)
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