public enum Dependents extends Enum<Dependents>
| Enum Constant and Description |
|---|
ANCESTORS
The element is dependent upon the set of the specified rule's ancestors
(the transitive closure of
PARENTS rules). |
CHILDREN
The element is dependent upon the set of the specified rule's children
(rules which it directly references).
|
DESCENDANTS
The element is dependent upon the set of the specified rule's descendants
(the transitive closure of
CHILDREN rules). |
FOLLOWING
The element is dependent upon the set of the specified rule's following
elements (rules which might start after the end of the specified rule
while parsing).
|
FOLLOWING_SIBLINGS
|
PARENTS
The element is dependent upon the set of the specified rule's parents
(rules which directly reference it).
|
PRECEEDING
The element is dependent upon the set of the specified rule's preceeding
elements (rules which might end before the start of the specified rule
while parsing).
|
PRECEEDING_SIBLINGS
|
SELF
The element is dependent upon the specified rule.
|
SIBLINGS
|
| Modifier and Type | Method and Description |
|---|---|
static Dependents |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dependents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dependents SELF
public static final Dependents PARENTS
public static final Dependents CHILDREN
public static final Dependents ANCESTORS
PARENTS rules).public static final Dependents DESCENDANTS
CHILDREN rules).public static final Dependents SIBLINGS
public static final Dependents PRECEEDING_SIBLINGS
public static final Dependents FOLLOWING_SIBLINGS
public static final Dependents PRECEEDING
PRECEEDING_SIBLINGS of the rule and each of its
ANCESTORS, along with the DESCENDANTS of those
elements.public static final Dependents FOLLOWING
FOLLOWING_SIBLINGS of the rule and each of its
ANCESTORS, along with the DESCENDANTS of those
elements.public static Dependents[] values()
for (Dependents c : Dependents.values()) System.out.println(c);
public static Dependents 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 © 1992–2024 Daniel Sun. All rights reserved.