Package gnu.kawa.lispexpr
Class ReaderParens
java.lang.Object
gnu.kawa.lispexpr.ReadTableEntry
gnu.kawa.lispexpr.ReaderParens
-
Field Summary
Fields inherited from class gnu.kawa.lispexpr.ReadTableEntry
ampersand, brace, constituent, illegal, multipleEscape, singleEscape, whitespace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReaderParens
getInstance
(char open, char close) static ReaderParens
getInstance
(char open, char close, int kind) static ReaderParens
getInstance
(char open, char close, int kind, Object command) int
getKind()
Read a list (possibly improper) of zero or more Scheme forms.static Object
readList
(LispReader lexer, Object last, int ch, int count, int close, int sharingIndex) Methods inherited from class gnu.kawa.lispexpr.ReadTableEntry
getConstituentInstance, getDigitInstance, getIllegalInstance, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstance, read
-
Constructor Details
-
ReaderParens
-
-
Method Details
-
getKind
public int getKind()- Overrides:
getKind
in classReadTableEntry
-
getInstance
-
getInstance
-
getInstance
-
read
public Object read(Lexer in, int ch, int count, int sharingIndex) throws IOException, SyntaxException Read a list (possibly improper) of zero or more Scheme forms. Assumes '(' has been read.- Overrides:
read
in classReadTableEntry
- Throws:
IOException
SyntaxException
-
readList
public static Object readList(LispReader lexer, Object last, int ch, int count, int close, int sharingIndex) throws IOException, SyntaxException - Throws:
IOException
SyntaxException
-