gnu.kawa.lispexpr

Class 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()
Object
read(Lexer in, int ch, int count)

Methods inherited from class gnu.kawa.lispexpr.ReadTableEntry

getConstituentInstance, getDigitInstance, getKind, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstance, read

Field Details

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 Details

ReaderDispatchMisc

public ReaderDispatchMisc()

ReaderDispatchMisc

public ReaderDispatchMisc(int code)

Method Details

getInstance

public static ReaderDispatchMisc getInstance()

read

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