public class EofToken extends Token
The generic end-of-file token.
Copyright (c) 2009 by Ronald Mak
For instructional purposes only. No warranties.
currentChar, extract, getLineNumber, getPosition, getText, getType, getValue, nextChar, peekAhead, peekChar, toString
public EofToken(Source source) throws IOException
source
- the source from where to fetch subsequent characters.Exception
- if an error occurred.IOException
Copyright © 2010–2015. All rights reserved.