gnu.kawa.lispexpr
Class ReaderDispatchMisc

java.lang.Object
  extended by gnu.kawa.lispexpr.ReadTableEntry
      extended by gnu.kawa.lispexpr.ReaderDispatchMisc

public class ReaderDispatchMisc
extends ReadTableEntry


Field Summary
protected  int code
          A code which specifies which particular reader-action to perform.
 
Fields inherited from class gnu.kawa.lispexpr.ReadTableEntry
constituent, multipleEscape, singleEscape, whitespace
 
Constructor Summary
ReaderDispatchMisc()
           
ReaderDispatchMisc(int code)
           
 
Method Summary
static ReaderDispatchMisc getInstance()
           
 java.lang.Object read(Lexer in, int ch, int count)
           
 
Methods inherited from class gnu.kawa.lispexpr.ReadTableEntry
getConstituentInstance, getDigitInstance, getKind, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

protected int code
A code which specifies which particular reader-action to perform. The code is one the CommonLisp or Scheme '#' reader characters. For example, if code=='x' then read a hexadecimal integer. If code==-1, perform the standard action for the character read.

Constructor Detail

ReaderDispatchMisc

public ReaderDispatchMisc()

ReaderDispatchMisc

public ReaderDispatchMisc(int code)
Method Detail

getInstance

public static ReaderDispatchMisc getInstance()

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