public abstract class TokenStream extends Object
| Constructor and Description |
|---|
TokenStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases resources associated with this stream.
|
abstract Token |
next()
Returns the next token in the stream, or null at EOS.
|
public abstract Token next() throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2024 GATE. All rights reserved.