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