public class StringLexerSource extends LexerSource
Constructor and 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 and Description |
---|---|
String |
toString() |
close, getColumn, getLine, token
error, getName, getParent, getPath, iterator, setListener, skipline, warning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public StringLexerSource(String string, boolean ppvalid)
ppvalid
- true if preprocessor directives are to be
honoured within the string.public StringLexerSource(String string)