gnu.commonlisp.lang
Class CLispReader

java.lang.Object
  extended by java.io.Reader
      extended by gnu.text.Lexer
          extended by gnu.kawa.lispexpr.LispReader
              extended by gnu.commonlisp.lang.CLispReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable
Direct Known Subclasses:
ELispReader

public class CLispReader
extends LispReader

A class to read CommonLisp forms (S-expressions).


Field Summary
 
Fields inherited from class gnu.kawa.lispexpr.LispReader
finalColonIsKeyword, initialColonIsKeyword, SCM_NUMBERS, seenEscapes, TOKEN_ESCAPE_CHAR
 
Fields inherited from class gnu.text.Lexer
interactive, nesting, port, tokenBuffer, tokenBufferLength
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
CLispReader(InPort port)
           
CLispReader(InPort port, SourceMessages messages)
           
 
Method Summary
protected  java.lang.Object makeSymbol(java.lang.String name)
           
static java.lang.Object readObject(InPort port)
           
 
Methods inherited from class gnu.kawa.lispexpr.LispReader
getReadCase, handleToken, lookupUnit, makeNil, makePair, makePair, parseNumber, readCharacter, readCommand, readEscape, readEscape, readNestedComment, readNumberWithRadix, readObject, readObject, readSimpleVector, readSpecial, readToken, readValues, readValues, returnSymbol, setCdr
 
Methods inherited from class gnu.text.Lexer
checkErrors, checkNext, clearErrors, close, eofError, eofError, error, error, error, fatal, getColumnNumber, getErrors, getLineNumber, getMessages, getName, getPort, isInteractive, mark, peek, popNesting, pushNesting, read, read, readDigitsInBuffer, readOptionalExponent, reset, seenErrors, setInteractive, setMessages, skip_quick, skip, tokenBufferAppend, unread_quick, unread, unread
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, ready, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLispReader

public CLispReader(InPort port)

CLispReader

public CLispReader(InPort port,
                   SourceMessages messages)
Method Detail

makeSymbol

protected java.lang.Object makeSymbol(java.lang.String name)
Overrides:
makeSymbol in class LispReader

readObject

public static java.lang.Object readObject(InPort port)
                                   throws java.io.IOException,
                                          SyntaxException
Throws:
java.io.IOException
SyntaxException