at.dms.compiler
Interface WarningFilter
- All Known Implementing Classes:
- DefaultFilter
- public interface WarningFilter
This interface filters warnings.
Field Summary |
static int |
FLT_ACCEPT
Does not decide, the warning will be displayed depending on the user
options (warning level, langage specification). |
static int |
FLT_FORCE
Forces the warning to be displayed. |
static int |
FLT_REJECT
Rejects the warning, it will not be displayed |
FLT_REJECT
public static final int FLT_REJECT
- Rejects the warning, it will not be displayed
FLT_FORCE
public static final int FLT_FORCE
- Forces the warning to be displayed.
FLT_ACCEPT
public static final int FLT_ACCEPT
- Does not decide, the warning will be displayed depending on the user
options (warning level, langage specification).
filter
public int filter(CWarning warning)
- Filters a warning.
- Parameters:
warning
- a warning to be filtred- Returns:
- FLT_REJECT, FLT_FORCE, FLT_ACCEPT