Top Fields Constructors Methods
org.antlr.v4.runtime

public final Enum Dependents

extends Enum<Dependents>
Class Inheritance

Author
Sam Harwell

Field Summary

Modifier and TypeField and Description
public static final Dependents
ANCESTORS

The element is dependent upon the set of the specified rule's ancestors (the transitive closure of PARENTS rules).

public static final Dependents
CHILDREN

The element is dependent upon the set of the specified rule's children (rules which it directly references).

public static final Dependents
DESCENDANTS

The element is dependent upon the set of the specified rule's descendants (the transitive closure of CHILDREN rules).

public static final Dependents
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).

public static final Dependents
FOLLOWING_SIBLINGS

The element is dependent upon the set of the specified rule's following siblings (the union of CHILDREN of its PARENTS which appear after a reference to the rule).

public static final Dependents
PARENTS

The element is dependent upon the set of the specified rule's parents (rules which directly reference it).

public static final Dependents
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).

public static final Dependents
PRECEEDING_SIBLINGS

The element is dependent upon the set of the specified rule's preceeding siblings (the union of CHILDREN of its PARENTS which appear before a reference to the rule).

public static final Dependents
SELF

The element is dependent upon the specified rule.

public static final Dependents
SIBLINGS

The element is dependent upon the set of the specified rule's siblings (the union of CHILDREN of its PARENTS).

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Dependents
public static Dependents[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ANCESTORSback to summary
public static final Dependents ANCESTORS

The element is dependent upon the set of the specified rule's ancestors (the transitive closure of PARENTS rules).

CHILDRENback to summary
public static final Dependents CHILDREN

The element is dependent upon the set of the specified rule's children (rules which it directly references).

DESCENDANTSback to summary
public static final Dependents DESCENDANTS

The element is dependent upon the set of the specified rule's descendants (the transitive closure of CHILDREN rules).

FOLLOWINGback to summary
public static final Dependents 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 the FOLLOWING_SIBLINGS of the rule and each of its ANCESTORS, along with the DESCENDANTS of those elements.

FOLLOWING_SIBLINGSback to summary
public static final Dependents FOLLOWING_SIBLINGS

The element is dependent upon the set of the specified rule's following siblings (the union of CHILDREN of its PARENTS which appear after a reference to the rule).

PARENTSback to summary
public static final Dependents PARENTS

The element is dependent upon the set of the specified rule's parents (rules which directly reference it).

PRECEEDINGback to summary
public static final Dependents 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 the PRECEEDING_SIBLINGS of the rule and each of its ANCESTORS, along with the DESCENDANTS of those elements.

PRECEEDING_SIBLINGSback to summary
public static final Dependents PRECEEDING_SIBLINGS

The element is dependent upon the set of the specified rule's preceeding siblings (the union of CHILDREN of its PARENTS which appear before a reference to the rule).

SELFback to summary
public static final Dependents SELF

The element is dependent upon the specified rule.

SIBLINGSback to summary
public static final Dependents SIBLINGS

The element is dependent upon the set of the specified rule's siblings (the union of CHILDREN of its PARENTS).

Constructor Detail

Dependentsback to summary
private Dependents()

Method Detail

valueOfback to summary
public static Dependents valueOf(String name)
valuesback to summary
public static Dependents[] values()