Class InputLexerSource
java.lang.Object
io.github.douira.glsl_preprocessor.Source
io.github.douira.glsl_preprocessor.LexerSource
io.github.douira.glsl_preprocessor.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 io.github.douira.glsl_preprocessor.LexerSource
close, getColumn, getLine, toBufferedReader, tokenMethods inherited from class io.github.douira.glsl_preprocessor.Source
error, iterator, setListener, skipline, warningMethods 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