org.anarres.cpp
Class InputLexerSource
java.lang.Object
org.anarres.cpp.Source
org.anarres.cpp.LexerSource
org.anarres.cpp.InputLexerSource
- All Implemented Interfaces:
- Closeable, Iterable<Token>
public class InputLexerSource
- extends LexerSource
A Source
which lexes a file.
The input is buffered.
- See Also:
Source
InputLexerSource
public InputLexerSource(InputStream input)
throws IOException
- Creates a new Source for lexing the given Reader.
Preprocessor directives are honoured within the file.
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007 Shevek, Anarres. All Rights Reserved.