Package com.jogamp.gluegen.jcpp
Interface PreprocessorListener
-
- All Known Implementing Classes:
DefaultPreprocessorListener
public interface PreprocessorListenerA handler for preprocessor events, primarily errors and warnings. If no PreprocessorListener is installed in a Preprocessor, all error and warning events will throw an exception. Installing a listener allows more intelligent handling of these events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPreprocessorListener.SourceChangeEvent
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleError(Source source, int line, int column, String msg)Handles an error.voidhandleSourceChange(Source source, PreprocessorListener.SourceChangeEvent event)voidhandleWarning(Source source, int line, int column, String msg)Handles a warning.
-
-
-
Method Detail
-
handleWarning
void handleWarning(Source source, int line, int column, String msg) throws LexerException
Handles a warning. The behaviour of this method is defined by the implementation. It may simply record the error message, or it may throw an exception.- Throws:
LexerException
-
handleError
void handleError(Source source, int line, int column, String msg) throws LexerException
Handles an error. The behaviour of this method is defined by the implementation. It may simply record the error message, or it may throw an exception.- Throws:
LexerException
-
handleSourceChange
void handleSourceChange(Source source, PreprocessorListener.SourceChangeEvent event)
-
-