Class IsOrColon

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<IsOrColon>
    Direct Known Subclasses:
    IsOrColon.Colon, IsOrColon.Is

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

      • TYPE_

        public static final Name TYPE_
        Name of the openGql.grammar.IsOrColon type.
      • IS

        public static final Name IS
        Name of the openGql.grammar.IsOrColon.is field.
      • COLON

        public static final Name COLON
        Name of the openGql.grammar.IsOrColon.colon field.
    • Method Detail

      • accept

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

        public abstract int hydraOrdinal()