Enum Class Dependents

java.lang.Object
java.lang.Enum<Dependents>
org.antlr.v4.runtime.Dependents
All Implemented Interfaces:
Serializable, Comparable<Dependents>, Constable

public enum Dependents extends Enum<Dependents>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The element is dependent upon the set of the specified rule's ancestors (the transitive closure of PARENTS rules).
    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 of CHILDREN rules).
    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 following siblings (the union of CHILDREN of its PARENTS which appear after a reference to the rule).
    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 set of the specified rule's preceeding siblings (the union of CHILDREN of its PARENTS which appear before a reference to the rule).
    The element is dependent upon the specified rule.
    The element is dependent upon the set of the specified rule's siblings (the union of CHILDREN of its PARENTS).
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Dependents
    Returns the enum constant of this class with the specified name.
    static Dependents[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SELF

      public static final Dependents SELF
      The element is dependent upon the specified rule.
    • PARENTS

      public static final Dependents PARENTS
      The element is dependent upon the set of the specified rule's parents (rules which directly reference it).
    • CHILDREN

      public static final Dependents CHILDREN
      The element is dependent upon the set of the specified rule's children (rules which it directly references).
    • ANCESTORS

      public static final Dependents ANCESTORS
      The element is dependent upon the set of the specified rule's ancestors (the transitive closure of PARENTS rules).
    • DESCENDANTS

      public static final Dependents DESCENDANTS
      The element is dependent upon the set of the specified rule's descendants (the transitive closure of CHILDREN rules).
    • SIBLINGS

      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).
    • PRECEEDING_SIBLINGS

      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).
    • FOLLOWING_SIBLINGS

      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).
    • PRECEEDING

      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.
    • FOLLOWING

      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.
  • Constructor Details

    • Dependents

      private Dependents()
  • Method Details

    • values

      public static Dependents[] 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

      public static Dependents valueOf(String name)
      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 name
      NullPointerException - if the argument is null