fr.umlv.tatoo.cc.ebnf.ast.analysis
Enum ASTDiagnosticReporter.WarningKey

java.lang.Object
  extended by java.lang.Enum<ASTDiagnosticReporter.WarningKey>
      extended by fr.umlv.tatoo.cc.ebnf.ast.analysis.ASTDiagnosticReporter.WarningKey
All Implemented Interfaces:
DiagnosticReporter.Key, Serializable, Comparable<ASTDiagnosticReporter.WarningKey>
Enclosing interface:
ASTDiagnosticReporter

public static enum ASTDiagnosticReporter.WarningKey
extends Enum<ASTDiagnosticReporter.WarningKey>
implements DiagnosticReporter.Key


Enum Constant Summary
bad_associativity
           
duplicate_type_declared_recover
           
generated_production_id
           
import_duplicate
           
startnonterminals_duplicates
           
startnonterminals_empty_recover
           
two_terminals_with_same_alias
           
type_not_exist
           
 
Method Summary
 DiagnosticReporter.Level defaultLevel()
           
static ASTDiagnosticReporter.WarningKey valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ASTDiagnosticReporter.WarningKey[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fr.umlv.tatoo.cc.common.log.DiagnosticReporter.Key
name
 

Enum Constant Detail

two_terminals_with_same_alias

public static final ASTDiagnosticReporter.WarningKey two_terminals_with_same_alias

type_not_exist

public static final ASTDiagnosticReporter.WarningKey type_not_exist

import_duplicate

public static final ASTDiagnosticReporter.WarningKey import_duplicate

bad_associativity

public static final ASTDiagnosticReporter.WarningKey bad_associativity

startnonterminals_empty_recover

public static final ASTDiagnosticReporter.WarningKey startnonterminals_empty_recover

startnonterminals_duplicates

public static final ASTDiagnosticReporter.WarningKey startnonterminals_duplicates

generated_production_id

public static final ASTDiagnosticReporter.WarningKey generated_production_id

duplicate_type_declared_recover

public static final ASTDiagnosticReporter.WarningKey duplicate_type_declared_recover
Method Detail

values

public static ASTDiagnosticReporter.WarningKey[] 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.WarningKey c : ASTDiagnosticReporter.WarningKey.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.WarningKey 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