All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.cayenne.exp.parser.ExpressionParserConstants Maven / Gradle / Ivy

There is a newer version: 4.2.1
Show newest version
/* Generated By:JJTree&JavaCC: Do not edit this line. ExpressionParserConstants.java */
/*****************************************************************
 *   Licensed to the Apache Software Foundation (ASF) under one
 *  or more contributor license agreements.  See the NOTICE file
 *  distributed with this work for additional information
 *  regarding copyright ownership.  The ASF licenses this file
 *  to you under the Apache License, Version 2.0 (the
 *  "License"); you may not use this file except in compliance
 *  with the License.  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing,
 *  software distributed under the License is distributed on an
 *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *  KIND, either express or implied.  See the License for the
 *  specific language governing permissions and limitations
 *  under the License.
 ****************************************************************/


package org.apache.cayenne.exp.parser;


/**
 * Token literal values and constants.
 * Generated by org.javacc.parser.OtherFilesGen#start()
 */
public interface ExpressionParserConstants {

  /** End of File. */
  int EOF = 0;
  /** RegularExpression Id. */
  int NULL = 32;
  /** RegularExpression Id. */
  int TRUE = 33;
  /** RegularExpression Id. */
  int FALSE = 34;
  /** RegularExpression Id. */
  int PROPERTY_PATH = 35;
  /** RegularExpression Id. */
  int IDENTIFIER = 36;
  /** RegularExpression Id. */
  int LETTER = 37;
  /** RegularExpression Id. */
  int DIGIT = 38;
  /** RegularExpression Id. */
  int ESC = 41;
  /** RegularExpression Id. */
  int SINGLE_QUOTED_STRING = 43;
  /** RegularExpression Id. */
  int STRING_ESC = 44;
  /** RegularExpression Id. */
  int DOUBLE_QUOTED_STRING = 46;
  /** RegularExpression Id. */
  int INT_LITERAL = 47;
  /** RegularExpression Id. */
  int FLOAT_LITERAL = 48;
  /** RegularExpression Id. */
  int DEC_FLT = 49;
  /** RegularExpression Id. */
  int DEC_DIGITS = 50;
  /** RegularExpression Id. */
  int EXPONENT = 51;
  /** RegularExpression Id. */
  int FLT_SUFF = 52;

  /** Lexical state. */
  int DEFAULT = 0;
  /** Lexical state. */
  int WithinSingleQuoteLiteral = 1;
  /** Lexical state. */
  int WithinDoubleQuoteLiteral = 2;

  /** Literal token values. */
  String[] tokenImage = {
    "",
    "\"or\"",
    "\"and\"",
    "\"not\"",
    "\"!\"",
    "\"=\"",
    "\"==\"",
    "\"!=\"",
    "\"<>\"",
    "\"<=\"",
    "\"<\"",
    "\">\"",
    "\">=\"",
    "\"like\"",
    "\"likeIgnoreCase\"",
    "\"in\"",
    "\"(\"",
    "\")\"",
    "\"between\"",
    "\",\"",
    "\"+\"",
    "\"-\"",
    "\"*\"",
    "\"/\"",
    "\"$\"",
    "\"obj:\"",
    "\"db:\"",
    "\"enum:\"",
    "\" \"",
    "\"\\t\"",
    "\"\\n\"",
    "\"\\r\"",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "\"\\\'\"",
    "\"\\\"\"",
    "",
    "",
    "\"\\\'\"",
    "",
    "",
    "\"\\\"\"",
    "",
    "",
    "",
    "",
    "",
    "",
  };

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy