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

java.lang.Object
  extended by java.lang.Enum<ASTDiagnosticReporter.ErrorKey>
      extended by 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


Enum Constant Summary
duplicate_type_declared
           
import_not_qualified
           
nonterminal_duplicate
           
nonTerminal_var_terminal_instead
           
nonTerminal_var_unknown
           
priority_duplicate
           
priority_var_unknown
           
rule_duplicate
           
terminal_duplicate
           
terminal_eof_duplicate
           
terminal_var_branch_nonterminal_instead
           
terminal_var_nonterminal_instead
           
terminal_var_unknown
           
unknown_directive
           
version_var_unknown
           
 
Method Summary
 DiagnosticReporter.Level defaultLevel()
           
static ASTDiagnosticReporter.ErrorKey valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ASTDiagnosticReporter.ErrorKey[] 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

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
Method Detail

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