gnu.kawa.lispexpr
Class ReaderDispatchMacro

java.lang.Object
  extended by gnu.kawa.lispexpr.ReadTableEntry
      extended by gnu.kawa.lispexpr.ReaderMisc
          extended by 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
constituent, multipleEscape, singleEscape, whitespace
 
Constructor Summary
ReaderDispatchMacro(Procedure procedure)
           
 
Method Summary
 Procedure getProcedure()
           
 java.lang.Object read(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, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReaderDispatchMacro

public ReaderDispatchMacro(Procedure procedure)
Method Detail

getProcedure

public Procedure getProcedure()

read

public java.lang.Object read(Lexer in,
                             int ch,
                             int count)
                      throws java.io.IOException,
                             SyntaxException
Overrides:
read in class ReadTableEntry
Throws:
java.io.IOException
SyntaxException