public class DefaultPreprocessorListener extends 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,
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 PreprocessorListener
LexerException
public void handleError(Source source, int line, int column, String msg) throws LexerException
handleError
in interface PreprocessorListener
LexerException
public void handleSourceChange(Source source, PreprocessorListener.SourceChangeEvent event)
handleSourceChange
in interface PreprocessorListener