gnu.q2.lang
Class Q2Read
A class to read Scheme forms (S-expressions).
handleToken , lookupUnit , makeNil , makePair , makePair , parseNumber , readCharacter , readCommand , readEscape , readEscape , readNestedComment , readNumberWithRadix , readObject , readObject , readSimpleVector , readSpecial , readValues , readValues , returnSymbol , setCdr , validPostfixLookupStart |
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,
SyntaxException
Read 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