PreprocessorListenerpublic class DefaultPreprocessorListener extends Object implements PreprocessorListener
PreprocessorListener.SourceChangeEvent| Constructor | Description |
|---|---|
DefaultPreprocessorListener() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
|
int |
getErrors() |
|
int |
getWarnings() |
|
void |
handleError(Source source,
int line,
int column,
String msg) |
Handles an error.
|
void |
handleSourceChange(Source source,
PreprocessorListener.SourceChangeEvent event) |
|
void |
handleWarning(Source source,
int line,
int column,
String msg) |
Handles a warning.
|
protected void |
print(String msg) |
public void clear()
public int getErrors()
public int getWarnings()
protected void print(String msg)
public void handleWarning(Source source, int line, int column, String msg) throws LexerException
handleWarning in interface PreprocessorListenerLexerExceptionpublic void handleError(Source source, int line, int column, String msg) throws LexerException
handleError in interface PreprocessorListenerLexerExceptionpublic void handleSourceChange(Source source, PreprocessorListener.SourceChangeEvent event)
handleSourceChange in interface PreprocessorListener