Class LexerSource
java.lang.Object
io.github.ocelot.glslprocessor.lib.anarres.cpp.Source
io.github.ocelot.glslprocessor.lib.anarres.cpp.LexerSource
- Direct Known Subclasses:
StringLexerSource
Does not handle digraphs.
-
Constructor Details
-
LexerSource
-
-
Method Details
-
getLine
public int getLine()Returns the line number of the last read character in this source.Lines are numbered from 1.
-
getColumn
public int getColumn()Returns the column number of the last read character in this source.Columns are numbered from 0.
-
token
Description copied from class:SourceReturns the next Token parsed from this input stream.- Specified by:
tokenin classSource- Throws:
LexerException- See Also:
-