Class PathOrPaths

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PathOrPaths>
    Direct Known Subclasses:
    PathOrPaths.Path, PathOrPaths.Paths

    public abstract class PathOrPaths
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<PathOrPaths>
    A GQL path or paths: one of a fixed set of alternatives
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the openGql.grammar.PathOrPaths type.
      • PATH

        public static final Name PATH
        Name of the openGql.grammar.PathOrPaths.path field.
      • PATHS

        public static final Name PATHS
        Name of the openGql.grammar.PathOrPaths.paths field.
    • Method Detail

      • accept

        public abstract <R> R accept​(PathOrPaths.Visitor<R> visitor)
        Dispatch to visitor.
      • hydraOrdinal

        public abstract int hydraOrdinal()