gnu.q2.lang
Class Q2Read
A class to read Scheme forms (S-expressions).
getReadCase, handleToken, lookupUnit, makeNil, makePair, makePair, makeSymbol, parseNumber, readCharacter, readCommand, readEscape, readEscape, readNestedComment, readNumberWithRadix, readObject, readObject, readSimpleVector, readSpecial, readToken, readValues, readValues, returnSymbol, setCdr |
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 |
Q2Read
public Q2Read(InPort port)
readCommand
public Object readCommand()
throws java.io.IOException,
SyntaxExceptionRead a "command" - a top-level expression or declaration.
Return Sequence.eofValue of end of file.
- readCommand in interface LispReader
readCommand
public Object readCommand(boolean forceList)
throws java.io.IOException,
SyntaxException