Package org.antlr.v4.runtime
Enum Class Dependents
- All Implemented Interfaces:
Serializable,Comparable<Dependents>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe element is dependent upon the set of the specified rule's ancestors (the transitive closure ofPARENTSrules).The element is dependent upon the set of the specified rule's children (rules which it directly references).The element is dependent upon the set of the specified rule's descendants (the transitive closure ofCHILDRENrules).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).The element is dependent upon the set of the specified rule's parents (rules which directly reference it).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).The element is dependent upon the specified rule. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DependentsReturns the enum constant of this class with the specified name.static Dependents[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SELF
The element is dependent upon the specified rule. -
PARENTS
The element is dependent upon the set of the specified rule's parents (rules which directly reference it). -
CHILDREN
The element is dependent upon the set of the specified rule's children (rules which it directly references). -
ANCESTORS
The element is dependent upon the set of the specified rule's ancestors (the transitive closure ofPARENTSrules). -
DESCENDANTS
The element is dependent upon the set of the specified rule's descendants (the transitive closure ofCHILDRENrules). -
SIBLINGS
-
PRECEEDING_SIBLINGS
-
FOLLOWING_SIBLINGS
-
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). This is calculated by taking thePRECEEDING_SIBLINGSof the rule and each of itsANCESTORS, along with theDESCENDANTSof those elements. -
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). This is calculated by taking theFOLLOWING_SIBLINGSof the rule and each of itsANCESTORS, along with theDESCENDANTSof those elements.
-
-
Constructor Details
-
Dependents
private Dependents()
-
-
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
-