Gets the next token from a tokenizer, which must be an EOL or EOF. @throws TextParseException The input was invalid or not an EOL or EOF token. @throws IOException An I/O error occurred.
()
| 566 | * @throws IOException An I/O error occurred. |
| 567 | */ |
| 568 | public void |
| 569 | getEOL() throws IOException { |
| 570 | Token next = get(); |
| 571 | if (next.type != EOL && next.type != EOF) { |
| 572 | throw exception("expected EOL or EOF"); |
| 573 | } |
| 574 | } |
| 575 | |
| 576 | /** |
| 577 | * Returns a concatenation of the remaining strings from a Tokenizer. |
no test coverage detected