gnu.kawa.lispexpr
Class ReaderTypespec

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

public class ReaderTypespec
extends ReadTableEntry

Reader table entry for '<' to treat '[' and ']' as constituents. Lets us use (say) '' as a token even if '[' and ']' are parens.


Field Summary
 
Fields inherited from class gnu.kawa.lispexpr.ReadTableEntry
constituent, multipleEscape, singleEscape, whitespace
 
Constructor Summary
ReaderTypespec()
           
 
Method Summary
 int getKind()
           
 java.lang.Object read(Lexer in, int ch, int count)
           
 
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

ReaderTypespec

public ReaderTypespec()
Method Detail

getKind

public int getKind()
Overrides:
getKind in class ReadTableEntry

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