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, spliteratorclose, getColumn, getLine, tokenpublic StringLexerSource(String string, boolean ppvalid)
ppvalid - true if preprocessor directives are to be
honoured within the string.public StringLexerSource(String string)