gnu.kawa.lispexpr
Class ReaderDispatchMisc
java.lang.Object
gnu.kawa.lispexpr.ReadTableEntry
gnu.kawa.lispexpr.ReaderDispatchMisc
public class ReaderDispatchMisc
- extends ReadTableEntry
Field Summary |
protected int |
code
A code which specifies which particular reader-action to perform. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
ReaderDispatchMisc
public ReaderDispatchMisc()
ReaderDispatchMisc
public ReaderDispatchMisc(int code)
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
readRegex
public static java.util.regex.Pattern readRegex(Lexer in,
int ch,
int count)
throws java.io.IOException,
SyntaxException
- Throws:
java.io.IOException
SyntaxException