Package gnu.kawa.lispexpr
Class ReaderDispatchMacro
- java.lang.Object
-
- gnu.kawa.lispexpr.ReadTableEntry
-
- gnu.kawa.lispexpr.ReaderMisc
-
- gnu.kawa.lispexpr.ReaderDispatchMacro
-
public class ReaderDispatchMacro extends ReaderMisc
Wrapper for user-supplied reader dispatch macro procedure. This for second-level dispatching, typically after '#'.
-
-
Field Summary
-
Fields inherited from class gnu.kawa.lispexpr.ReadTableEntry
ampersand, brace, constituent, illegal, multipleEscape, singleEscape, whitespace
-
-
Constructor Summary
Constructors Constructor Description ReaderDispatchMacro(Procedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProceduregetProcedure()Objectread(Lexer in, int ch, int count)-
Methods inherited from class gnu.kawa.lispexpr.ReaderMisc
getKind
-
Methods inherited from class gnu.kawa.lispexpr.ReadTableEntry
getConstituentInstance, getDigitInstance, getIllegalInstance, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstance, read
-
-
-
-
Constructor Detail
-
ReaderDispatchMacro
public ReaderDispatchMacro(Procedure procedure)
-
-
Method Detail
-
getProcedure
public Procedure getProcedure()
-
read
public Object read(Lexer in, int ch, int count) throws IOException, SyntaxException
- Overrides:
readin classReaderMisc- Throws:
IOExceptionSyntaxException
-
-