gnu.kawa.lispexpr

Class ReaderQuote


public class ReaderQuote
extends ReadTableEntry

Field Summary

Fields inherited from class gnu.kawa.lispexpr.ReadTableEntry

constituent, multipleEscape, singleEscape, whitespace

Constructor Summary

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

Method Summary

Object
read(Lexer in, int ch, int count)

Methods inherited from class gnu.kawa.lispexpr.ReadTableEntry

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

Constructor Details

ReaderQuote

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

ReaderQuote

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

Method Details

read

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