gnu.commonlisp.lang

Class CLispReader

Known Direct 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

SCM_NUMBERS, TOKEN_ESCAPE_CHAR, finalColonIsKeyword, initialColonIsKeyword, seenEscapes

Fields inherited from class gnu.text.Lexer

interactive, nesting, port, tokenBuffer, tokenBufferLength

Constructor Summary

CLispReader(InPort port)
CLispReader(InPort port, SourceMessages messages)

Method Summary

protected Object
makeSymbol(String name)
static Object
readObject(InPort port)

Methods inherited from class gnu.kawa.lispexpr.LispReader

getReadCase, handleToken, lookupUnit, makeNil, makePair, makePair, makeSymbol, 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, skip_quick, tokenBufferAppend, unread, unread, unread_quick

Constructor Details

CLispReader

public CLispReader(InPort port)

CLispReader

public CLispReader(InPort port,
                   SourceMessages messages)

Method Details

makeSymbol

protected Object makeSymbol(String name)
Overrides:
makeSymbol in interface LispReader

readObject

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