001/* Generated By:JavaCC: Do not edit this line. SelectorParserConstants.java */ 002/** 003 * 004 * Licensed to the Apache Software Foundation (ASF) under one or more 005 * contributor license agreements. See the NOTICE file distributed with 006 * this work for additional information regarding copyright ownership. 007 * The ASF licenses this file to You under the Apache License, Version 2.0 008 * (the "License"); you may not use this file except in compliance with 009 * the License. You may obtain a copy of the License at 010 * 011 * http://www.apache.org/licenses/LICENSE-2.0 012 * 013 * Unless required by applicable law or agreed to in writing, software 014 * distributed under the License is distributed on an "AS IS" BASIS, 015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 016 * See the License for the specific language governing permissions and 017 * limitations under the License. 018 */ 019 020package org.granite.gravity.selector; 021 022public interface SelectorParserConstants { 023 024 int EOF = 0; 025 int LINE_COMMENT = 6; 026 int BLOCK_COMMENT = 7; 027 int NOT = 8; 028 int AND = 9; 029 int OR = 10; 030 int BETWEEN = 11; 031 int LIKE = 12; 032 int ESCAPE = 13; 033 int IN = 14; 034 int IS = 15; 035 int TRUE = 16; 036 int FALSE = 17; 037 int NULL = 18; 038 int XPATH = 19; 039 int XQUERY = 20; 040 int DECIMAL_LITERAL = 21; 041 int HEX_LITERAL = 22; 042 int OCTAL_LITERAL = 23; 043 int FLOATING_POINT_LITERAL = 24; 044 int EXPONENT = 25; 045 int STRING_LITERAL = 26; 046 int ID = 27; 047 048 int DEFAULT = 0; 049 050 String[] tokenImage = { 051 "<EOF>", 052 "\" \"", 053 "\"\\t\"", 054 "\"\\n\"", 055 "\"\\r\"", 056 "\"\\f\"", 057 "<LINE_COMMENT>", 058 "<BLOCK_COMMENT>", 059 "\"NOT\"", 060 "\"AND\"", 061 "\"OR\"", 062 "\"BETWEEN\"", 063 "\"LIKE\"", 064 "\"ESCAPE\"", 065 "\"IN\"", 066 "\"IS\"", 067 "\"TRUE\"", 068 "\"FALSE\"", 069 "\"NULL\"", 070 "\"XPATH\"", 071 "\"XQUERY\"", 072 "<DECIMAL_LITERAL>", 073 "<HEX_LITERAL>", 074 "<OCTAL_LITERAL>", 075 "<FLOATING_POINT_LITERAL>", 076 "<EXPONENT>", 077 "<STRING_LITERAL>", 078 "<ID>", 079 "\"=\"", 080 "\"<>\"", 081 "\">\"", 082 "\">=\"", 083 "\"<\"", 084 "\"<=\"", 085 "\"(\"", 086 "\",\"", 087 "\")\"", 088 "\"+\"", 089 "\"-\"", 090 "\"*\"", 091 "\"/\"", 092 "\"%\"", 093 }; 094 095}