fr.umlv.tatoo.cc.parser.table
Enum AbstractConflictDiagnosticReporter.ErrorKey
java.lang.Object
java.lang.Enum<AbstractConflictDiagnosticReporter.ErrorKey>
fr.umlv.tatoo.cc.parser.table.AbstractConflictDiagnosticReporter.ErrorKey
- All Implemented Interfaces:
- DiagnosticReporter.Key, Serializable, Comparable<AbstractConflictDiagnosticReporter.ErrorKey>
- Enclosing class:
- AbstractConflictDiagnosticReporter
public static enum AbstractConflictDiagnosticReporter.ErrorKey
- extends Enum<AbstractConflictDiagnosticReporter.ErrorKey>
- implements DiagnosticReporter.Key
shift_shift
public static final AbstractConflictDiagnosticReporter.ErrorKey shift_shift
reduce_reduce
public static final AbstractConflictDiagnosticReporter.ErrorKey reduce_reduce
no_priority
public static final AbstractConflictDiagnosticReporter.ErrorKey no_priority
values
public static AbstractConflictDiagnosticReporter.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 (AbstractConflictDiagnosticReporter.ErrorKey c : AbstractConflictDiagnosticReporter.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 AbstractConflictDiagnosticReporter.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