gnu.kawa.lispexpr
Class ReaderQuote

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

public class ReaderQuote
extends ReadTableEntry


Field Summary
 
Fields inherited from class gnu.kawa.lispexpr.ReadTableEntry
constituent, multipleEscape, singleEscape, whitespace
 
Constructor Summary
ReaderQuote(java.lang.Object magicSymbol)
          Read an expression EXP and return (magicSymbol EXP).
ReaderQuote(java.lang.Object magicSymbol, char next, java.lang.Object magicSymbol2)
          If the next character is 'next' read an expression EXP and return (magicSymbol2 EXP).
 
Method Summary
 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
 

Constructor Detail

ReaderQuote

public ReaderQuote(java.lang.Object magicSymbol)
Read an expression EXP and return (magicSymbol EXP).


ReaderQuote

public ReaderQuote(java.lang.Object magicSymbol,
                   char next,
                   java.lang.Object magicSymbol2)
If the next character is 'next' read an expression EXP and return (magicSymbol2 EXP). Otherwise, read EXP and return (magicSymbol EXP).

Method Detail

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