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 ReaderParensgetInstance(char open, char close) static ReaderParensgetInstance(char open, char close, int kind) static ReaderParensgetInstance(char open, char close, int kind, Object command) intgetKind()Read a list (possibly improper) of zero or more Scheme forms.static ObjectreadList(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:
getKindin 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:
readin classReadTableEntry- Throws:
IOExceptionSyntaxException
-
readList
public static Object readList(LispReader lexer, Object last, int ch, int count, int close, int sharingIndex) throws IOException, SyntaxException - Throws:
IOExceptionSyntaxException
-