gnu.kawa.brl
Class BRLRead
java.lang.Object
java.io.Reader
gnu.text.Lexer
gnu.kawa.lispexpr.LispReader
gnu.kawa.brl.BRLRead
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable
public class BRLRead
- extends LispReader
A class to read Scheme forms (S-expressions).
Fields inherited from class java.io.Reader |
lock |
Methods inherited from class gnu.kawa.lispexpr.LispReader |
handleToken, lookupUnit, makeNil, makePair, makePair, parseNumber, readCharacter, readCommand, readEscape, readEscape, readNestedComment, readNumberWithRadix, readObject, readSimpleVector, readSpecial, readValues, readValues, returnSymbol, setCdr, validPostfixLookupStart |
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 |
BRLRead
public BRLRead(InPort port)
BRLRead
public BRLRead(InPort port,
SourceMessages messages)
inLiteral
public boolean inLiteral()
- True if in literal text (even if nested inside an escaped expression).
readObject
public java.lang.Object readObject()
throws java.io.IOException,
SyntaxException
- Overrides:
readObject
in class LispReader
- Throws:
java.io.IOException
SyntaxException
readObject
public static java.lang.Object readObject(InPort port)
throws java.io.IOException,
SyntaxException
- Throws:
java.io.IOException
SyntaxException
isBrlCompatible
public boolean isBrlCompatible()
setBrlCompatible
public void setBrlCompatible(boolean compat)