Package edu.udel.cis.vsl.abc.ast.IF
Enum Class DifferenceObject.DiffKind
- All Implemented Interfaces:
Serializable,Comparable<DifferenceObject.DiffKind>,Constable
- Enclosing class:
- DifferenceObject
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTwo basic type nodes with different basic type kind.Two constant nodes of the same type don't agree on their values.Two identifier nodes with different names.Two nodes with different node kind.Two nodes don't agree on the number of children.Other kinds, explanation is user-specified.Two pragma nodes don't agree on the number of tokens.That node is null while this node is not.This node is null while that node is not. -
Method Summary
Modifier and TypeMethodDescriptionstatic DifferenceObject.DiffKindReturns the enum constant of this class with the specified name.static DifferenceObject.DiffKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
BASIC_TYPE_KIND
Two basic type nodes with different basic type kind. -
KIND
Two nodes with different node kind. -
THIS_NULL
This node is null while that node is not. -
THAT_NULL
That node is null while this node is not. -
NUM_CHILDREN
Two nodes don't agree on the number of children. -
IDENTIFIER_NAME
Two identifier nodes with different names. -
PRAGMA_NUM_TOKENS
Two pragma nodes don't agree on the number of tokens. -
CONSTANT_VALUE
Two constant nodes of the same type don't agree on their values. -
OTHER
Other kinds, explanation is user-specified.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-