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