public enum TranslatorErrorType extends Enum<TranslatorErrorType>
| Enum Constant and Description |
|---|
FAIL_AT_ENTRY
Represents that code generation preparation failed for a node at entry.
|
FAIL_AT_EXIT
Represents that code generation failed for a node at exit.
|
INVALID_CHILD_NODE
Represents the invalid child node.
|
INVALID_LEAF
Represents the invalid leaf without JAVA information.
|
INVALID_LEAF_HOLDER
Represents the invalid holder of leaf.
|
INVALID_LEAF_LIST
Represents the invalid leaf list without JAVA information.
|
INVALID_NODE
Represents the invalid node without JAVA information.
|
INVALID_PARENT_NODE
Represents the invalid parent node.
|
INVALID_TRANSLATION_NODE
Represents the invalid node for translation.
|
MISSING_PARENT_NODE
Represents the missing parent node.
|
| Modifier and Type | Method and Description |
|---|---|
String |
prefix()
Returns prefix for a given enum type.
|
static TranslatorErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TranslatorErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslatorErrorType INVALID_TRANSLATION_NODE
public static final TranslatorErrorType MISSING_PARENT_NODE
public static final TranslatorErrorType INVALID_PARENT_NODE
public static final TranslatorErrorType INVALID_LEAF_HOLDER
public static final TranslatorErrorType INVALID_CHILD_NODE
public static final TranslatorErrorType INVALID_LEAF_LIST
public static final TranslatorErrorType INVALID_LEAF
public static final TranslatorErrorType INVALID_NODE
public static final TranslatorErrorType FAIL_AT_EXIT
public static final TranslatorErrorType FAIL_AT_ENTRY
public static TranslatorErrorType[] values()
for (TranslatorErrorType c : TranslatorErrorType.values()) System.out.println(c);
public static TranslatorErrorType 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 nullpublic String prefix()
Copyright © 2018. All rights reserved.