Package org.anarres.cpp
Class InputLexerSource
java.lang.Object
org.anarres.cpp.Source
org.anarres.cpp.LexerSource
org.anarres.cpp.InputLexerSource
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<Token>
A
Source which lexes an InputStream.
The input is buffered.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInputLexerSource(InputStream input, Charset charset) Creates a new Source for lexing the given Reader.InputLexerSource(Reader input) InputLexerSource(Reader input, boolean ppvalid) -
Method Summary
Methods inherited from class org.anarres.cpp.LexerSource
close, getColumn, getLine, toBufferedReader, tokenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
InputLexerSource
Creates a new Source for lexing the given Reader. Preprocessor directives are honoured within the file. -
InputLexerSource
-
InputLexerSource
-
-
Method Details