public enum Dependents extends Enum<Dependents>
| 枚举常量和说明 |
|---|
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
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 1992–2022 Daniel Sun. All rights reserved.