Enum Ast.Op

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Ast.Op>
    Enclosing class:
    Ast

    public static enum Ast.Op
    extends java.lang.Enum<Ast.Op>
    Parse tree node type.
    • Enum Constant Detail

      • PROGRAM

        public static final Ast.Op PROGRAM
      • LITERAL

        public static final Ast.Op LITERAL
      • IDENTIFIER

        public static final Ast.Op IDENTIFIER
      • BAG

        public static final Ast.Op BAG
      • TUPLE

        public static final Ast.Op TUPLE
      • DESCRIBE

        public static final Ast.Op DESCRIBE
      • DISTINCT

        public static final Ast.Op DISTINCT
      • DUMP

        public static final Ast.Op DUMP
      • LOAD

        public static final Ast.Op LOAD
      • FOREACH

        public static final Ast.Op FOREACH
      • FILTER

        public static final Ast.Op FILTER
      • FOREACH_NESTED

        public static final Ast.Op FOREACH_NESTED
      • LIMIT

        public static final Ast.Op LIMIT
      • ORDER

        public static final Ast.Op ORDER
      • GROUP

        public static final Ast.Op GROUP
      • VALUES

        public static final Ast.Op VALUES
      • SCHEMA

        public static final Ast.Op SCHEMA
      • SCALAR_TYPE

        public static final Ast.Op SCALAR_TYPE
      • BAG_TYPE

        public static final Ast.Op BAG_TYPE
      • TUPLE_TYPE

        public static final Ast.Op TUPLE_TYPE
      • MAP_TYPE

        public static final Ast.Op MAP_TYPE
      • FIELD_SCHEMA

        public static final Ast.Op FIELD_SCHEMA
      • DOT

        public static final Ast.Op DOT
      • EQ

        public static final Ast.Op EQ
      • NE

        public static final Ast.Op NE
      • GT

        public static final Ast.Op GT
      • LT

        public static final Ast.Op LT
      • GTE

        public static final Ast.Op GTE
      • LTE

        public static final Ast.Op LTE
      • PLUS

        public static final Ast.Op PLUS
      • MINUS

        public static final Ast.Op MINUS
      • AND

        public static final Ast.Op AND
      • OR

        public static final Ast.Op OR
      • NOT

        public static final Ast.Op NOT
    • Constructor Detail

      • Op

        private Op()
    • Method Detail

      • values

        public static Ast.Op[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Ast.Op c : Ast.Op.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Ast.Op valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null