Closeable
, AutoCloseable
, Iterable<Token>
public class StringLexerSource extends LexerSource
Constructor | Description |
---|---|
StringLexerSource(String string) |
Creates a new Source for lexing the given String.
|
StringLexerSource(String string,
boolean ppvalid) |
Creates a new Source for lexing the given String.
|
Modifier and Type | Method | Description |
---|---|---|
String |
toString() |
forEach, spliterator
close, getColumn, getLine, token
public StringLexerSource(String string, boolean ppvalid)
ppvalid
- true if preprocessor directives are to be
honoured within the string.public StringLexerSource(String string)