fr.umlv.tatoo.cc.ebnf.ast.analysis
Enum ASTDiagnosticReporter.ErrorKey
java.lang.Object
java.lang.Enum<ASTDiagnosticReporter.ErrorKey>
fr.umlv.tatoo.cc.ebnf.ast.analysis.ASTDiagnosticReporter.ErrorKey
- All Implemented Interfaces:
- DiagnosticReporter.Key, Serializable, Comparable<ASTDiagnosticReporter.ErrorKey>
- Enclosing interface:
- ASTDiagnosticReporter
public static enum ASTDiagnosticReporter.ErrorKey
- extends Enum<ASTDiagnosticReporter.ErrorKey>
- implements DiagnosticReporter.Key
import_not_qualified
public static final ASTDiagnosticReporter.ErrorKey import_not_qualified
priority_var_unknown
public static final ASTDiagnosticReporter.ErrorKey priority_var_unknown
version_var_unknown
public static final ASTDiagnosticReporter.ErrorKey version_var_unknown
priority_duplicate
public static final ASTDiagnosticReporter.ErrorKey priority_duplicate
rule_duplicate
public static final ASTDiagnosticReporter.ErrorKey rule_duplicate
terminal_eof_duplicate
public static final ASTDiagnosticReporter.ErrorKey terminal_eof_duplicate
terminal_duplicate
public static final ASTDiagnosticReporter.ErrorKey terminal_duplicate
nonterminal_duplicate
public static final ASTDiagnosticReporter.ErrorKey nonterminal_duplicate
nonTerminal_var_unknown
public static final ASTDiagnosticReporter.ErrorKey nonTerminal_var_unknown
nonTerminal_var_terminal_instead
public static final ASTDiagnosticReporter.ErrorKey nonTerminal_var_terminal_instead
terminal_var_unknown
public static final ASTDiagnosticReporter.ErrorKey terminal_var_unknown
terminal_var_nonterminal_instead
public static final ASTDiagnosticReporter.ErrorKey terminal_var_nonterminal_instead
terminal_var_branch_nonterminal_instead
public static final ASTDiagnosticReporter.ErrorKey terminal_var_branch_nonterminal_instead
duplicate_type_declared
public static final ASTDiagnosticReporter.ErrorKey duplicate_type_declared
unknown_directive
public static final ASTDiagnosticReporter.ErrorKey unknown_directive
values
public static ASTDiagnosticReporter.ErrorKey[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ASTDiagnosticReporter.ErrorKey c : ASTDiagnosticReporter.ErrorKey.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ASTDiagnosticReporter.ErrorKey valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
defaultLevel
public DiagnosticReporter.Level defaultLevel()
- Specified by:
defaultLevel
in interface DiagnosticReporter.Key