public static enum GoloCompilationException.Problem.Type extends Enum<GoloCompilationException.Problem.Type>
| Enum Constant and Description |
|---|
ASSIGN_CONSTANT |
AUGMENT_FUNCTION_NO_ARGS |
BREAK_OR_CONTINUE_OUTSIDE_LOOP |
PARSING |
REFERENCE_ALREADY_DECLARED_IN_BLOCK |
UNDECLARED_REFERENCE |
| Modifier and Type | Method and Description |
|---|---|
static GoloCompilationException.Problem.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GoloCompilationException.Problem.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoloCompilationException.Problem.Type PARSING
public static final GoloCompilationException.Problem.Type AUGMENT_FUNCTION_NO_ARGS
public static final GoloCompilationException.Problem.Type UNDECLARED_REFERENCE
public static final GoloCompilationException.Problem.Type ASSIGN_CONSTANT
public static final GoloCompilationException.Problem.Type BREAK_OR_CONTINUE_OUTSIDE_LOOP
public static final GoloCompilationException.Problem.Type REFERENCE_ALREADY_DECLARED_IN_BLOCK
public static GoloCompilationException.Problem.Type[] values()
for (GoloCompilationException.Problem.Type c : GoloCompilationException.Problem.Type.values()) System.out.println(c);
public static GoloCompilationException.Problem.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon). All Rights Reserved.