/* 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 = 33; /** RegularExpression Id. */ int TRUE = 34; /** RegularExpression Id. */ int FALSE = 35; /** RegularExpression Id. */ int AVG = 36; /** RegularExpression Id. */ int MIN = 37; /** RegularExpression Id. */ int MAX = 38; /** RegularExpression Id. */ int SUM = 39; /** RegularExpression Id. */ int COUNT = 40; /** RegularExpression Id. */ int CONCAT = 41; /** RegularExpression Id. */ int SUBSTRING = 42; /** RegularExpression Id. */ int TRIM = 43; /** RegularExpression Id. */ int LOWER = 44; /** RegularExpression Id. */ int UPPER = 45; /** RegularExpression Id. */ int LENGTH = 46; /** RegularExpression Id. */ int LOCATE = 47; /** RegularExpression Id. */ int ABS = 48; /** RegularExpression Id. */ int SQRT = 49; /** RegularExpression Id. */ int MOD = 50; /** RegularExpression Id. */ int CURRENT_DATE = 51; /** RegularExpression Id. */ int CURRENT_TIME = 52; /** RegularExpression Id. */ int CURRENT_TIMESTAMP = 53; /** RegularExpression Id. */ int YEAR = 54; /** RegularExpression Id. */ int MONTH = 55; /** RegularExpression Id. */ int WEEK = 56; /** RegularExpression Id. */ int DAY_OF_YEAR = 57; /** RegularExpression Id. */ int DAY = 58; /** RegularExpression Id. */ int DAY_OF_MONTH = 59; /** RegularExpression Id. */ int DAY_OF_WEEK = 60; /** RegularExpression Id. */ int HOUR = 61; /** RegularExpression Id. */ int MINUTE = 62; /** RegularExpression Id. */ int SECOND = 63; /** RegularExpression Id. */ int ASTERISK = 68; /** RegularExpression Id. */ int PROPERTY_PATH = 69; /** RegularExpression Id. */ int IDENTIFIER = 70; /** RegularExpression Id. */ int LETTER = 71; /** RegularExpression Id. */ int DIGIT = 72; /** RegularExpression Id. */ int ESC = 75; /** RegularExpression Id. */ int SINGLE_QUOTED_STRING = 77; /** RegularExpression Id. */ int STRING_ESC = 78; /** RegularExpression Id. */ int DOUBLE_QUOTED_STRING = 80; /** RegularExpression Id. */ int INT_LITERAL = 81; /** RegularExpression Id. */ int FLOAT_LITERAL = 82; /** RegularExpression Id. */ int DEC_FLT = 83; /** RegularExpression Id. */ int DEC_DIGITS = 84; /** RegularExpression Id. */ int EXPONENT = 85; /** RegularExpression Id. */ int FLT_SUFF = 86; /** Lexical state. */ int DEFAULT = 0; /** Lexical state. */ int WithinSingleQuoteLiteral = 1; /** Lexical state. */ int WithinDoubleQuoteLiteral = 2; /** Literal token values. */ String[] tokenImage = { "<EOF>", "\"or\"", "\"and\"", "\"not\"", "\"!\"", "\"=\"", "\"==\"", "\"!=\"", "\"<>\"", "\"<=\"", "\"<\"", "\">\"", "\">=\"", "\"like\"", "\"likeIgnoreCase\"", "\"in\"", "\"(\"", "\")\"", "\"between\"", "\",\"", "\"|\"", "\"^\"", "\"&\"", "\"<<\"", "\">>\"", "\"+\"", "\"-\"", "\"/\"", "\"~\"", "\" \"", "\"\\t\"", "\"\\n\"", "\"\\r\"", "<NULL>", "<TRUE>", "<FALSE>", "\"avg\"", "\"min\"", "\"max\"", "\"sum\"", "\"count\"", "\"concat\"", "\"substring\"", "\"trim\"", "\"lower\"", "\"upper\"", "\"length\"", "\"locate\"", "\"abs\"", "\"sqrt\"", "\"mod\"", "\"currentDate\"", "\"currentTime\"", "<CURRENT_TIMESTAMP>", "\"year\"", "\"month\"", "\"week\"", "\"dayOfYear\"", "\"day\"", "\"dayOfMonth\"", "\"dayOfWeek\"", "\"hour\"", "\"minute\"", "\"second\"", "\"$\"", "\"obj:\"", "\"db:\"", "\"enum:\"", "\"*\"", "<PROPERTY_PATH>", "<IDENTIFIER>", "<LETTER>", "<DIGIT>", "\"\\\'\"", "\"\\\"\"", "<ESC>", "<token of kind 76>", "\"\\\'\"", "<STRING_ESC>", "<token of kind 79>", "\"\\\"\"", "<INT_LITERAL>", "<FLOAT_LITERAL>", "<DEC_FLT>", "<DEC_DIGITS>", "<EXPONENT>", "<FLT_SUFF>", }; }