|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TokenException | |
---|---|
edu.iu.cnets.klatsch.exception | |
edu.iu.cnets.klatsch.parser |
Uses of TokenException in edu.iu.cnets.klatsch.exception |
---|
Fields in edu.iu.cnets.klatsch.exception declared as TokenException | |
---|---|
(package private) TokenException |
ParserException.tokenError
possible contextual information on this error |
Constructors in edu.iu.cnets.klatsch.exception with parameters of type TokenException | |
---|---|
ParserException(TokenException tokenError,
java.lang.String message)
Initializes with a tokenization problem and an error message. |
Uses of TokenException in edu.iu.cnets.klatsch.parser |
---|
Methods in edu.iu.cnets.klatsch.parser that throw TokenException | |
---|---|
(package private) boolean |
TokenStream.atTerminator()
Determines if the stream is at an expression terminator (EOF) |
(package private) boolean |
TokenStream.eof()
Determines if the stream is at its end. |
(package private) Token |
TokenStream.get()
Returns the next token in the stream. |
(package private) Token |
TokenStream.peek()
Returns the next token in the stream without actually advancing the pointer within the buffer. |
private Token |
TokenStream.readToken()
Reads the next token from the buffer and returns it. |
(package private) Token |
TokenStream.require(Token.Type type)
Reads the next token in the stream, which must match the given type to avoid causing an error. |
(package private) Token |
TokenStream.requireKeyword(java.lang.String keyword)
Reads the next token in the stream, which must be a keyword of the given type to avoid causing an error. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |