001/** 002 * 003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. 004 * 005 * This library is free software; you can redistribute it and/or 006 * modify it under the terms of the GNU Lesser General Public 007 * License as published by the Free Software Foundation; either 008 * version 2.1 of the License, or (at your option) any later version. 009 * 010 * This library is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 013 * Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public 016 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 017 * 018 **/ 019 020package lucee.runtime.sql.old; 021 022 023public interface ZqlJJParserConstants 024{ 025 026 public static final int EOF = 0; 027 public static final int K_ALL = 5; 028 public static final int K_AND = 6; 029 public static final int K_ANY = 7; 030 public static final int K_AS = 8; 031 public static final int K_ASC = 9; 032 public static final int K_AVG = 10; 033 public static final int K_BETWEEN = 11; 034 public static final int K_BINARY_INTEGER = 12; 035 public static final int K_BOOLEAN = 13; 036 public static final int K_BY = 14; 037 public static final int K_CHAR = 15; 038 public static final int K_COMMENT = 16; 039 public static final int K_COMMIT = 17; 040 public static final int K_CONNECT = 18; 041 public static final int K_COUNT = 19; 042 public static final int K_DATE = 20; 043 public static final int K_DELETE = 21; 044 public static final int K_DESC = 22; 045 public static final int K_DISTINCT = 23; 046 public static final int K_EXCLUSIVE = 24; 047 public static final int K_EXISTS = 25; 048 public static final int K_EXIT = 26; 049 public static final int K_FLOAT = 27; 050 public static final int K_FOR = 28; 051 public static final int K_FROM = 29; 052 public static final int K_GROUP = 30; 053 public static final int K_HAVING = 31; 054 public static final int K_IN = 32; 055 public static final int K_INSERT = 33; 056 public static final int K_INTEGER = 34; 057 public static final int K_INTERSECT = 35; 058 public static final int K_INTO = 36; 059 public static final int K_IS = 37; 060 public static final int K_LIKE = 38; 061 public static final int K_LOCK = 39; 062 public static final int K_MAX = 40; 063 public static final int K_MIN = 41; 064 public static final int K_MINUS = 42; 065 public static final int K_MODE = 43; 066 public static final int K_NATURAL = 44; 067 public static final int K_NOT = 45; 068 public static final int K_NOWAIT = 46; 069 public static final int K_NULL = 47; 070 public static final int K_NUMBER = 48; 071 public static final int K_OF = 49; 072 public static final int K_ONLY = 50; 073 public static final int K_OR = 51; 074 public static final int K_ORDER = 52; 075 public static final int K_PRIOR = 53; 076 public static final int K_QUIT = 54; 077 public static final int K_READ = 55; 078 public static final int K_REAL = 56; 079 public static final int K_ROLLBACK = 57; 080 public static final int K_ROW = 58; 081 public static final int K_SELECT = 59; 082 public static final int K_SET = 60; 083 public static final int K_SHARE = 61; 084 public static final int K_SMALLINT = 62; 085 public static final int K_START = 63; 086 public static final int K_SUM = 64; 087 public static final int K_TABLE = 65; 088 public static final int K_TRANSACTION = 66; 089 public static final int K_UNION = 67; 090 public static final int K_UPDATE = 68; 091 public static final int K_VALUES = 69; 092 public static final int K_VARCHAR2 = 70; 093 public static final int K_VARCHAR = 71; 094 public static final int K_WHERE = 72; 095 public static final int K_WITH = 73; 096 public static final int K_WORK = 74; 097 public static final int K_WRITE = 75; 098 public static final int S_NUMBER = 76; 099 public static final int FLOAT = 77; 100 public static final int INTEGER = 78; 101 public static final int DIGIT = 79; 102 public static final int LINE_COMMENT = 80; 103 public static final int MULTI_LINE_COMMENT = 81; 104 public static final int S_IDENTIFIER = 82; 105 public static final int LETTER = 83; 106 public static final int SPECIAL_CHARS = 84; 107 public static final int S_BIND = 85; 108 public static final int S_CHAR_LITERAL = 86; 109 public static final int S_QUOTED_IDENTIFIER = 87; 110 public static final int DEFAULT = 0; 111 /*public static final String tokenImage[] = { 112 "<EOF>", "\" \"", "\"\\t\"", "\"\\r\"", "\"\\n\"", 113 "\"NEVER_USE_AVG\"", "\"NEVER_USE_BETWEEN\"", "\"NEVER_USE_BINARY_INTEGER\"", "\"NEVER_USE_BOOLEAN\"", "\"NEVER_USE_BY\"", 114 "\"NEVER_USE_CHAR\"", "\"NEVER_USE_COMMENT\"", "\"NEVER_USE_COMMIT\"", "\"NEVER_USE_CONNECT\"", "\"NEVER_USE_COUNT\"", 115 "\"NEVER_USE_DATE\"", "\"NEVER_USE_DELETE\"", "\"NEVER_USE_DESC\"", "\"NEVER_USE_DISTINCT\"", "\"NEVER_USE_EXCLUSIVE\"", 116 "\"NEVER_USE_EXISTS\"", "\"NEVER_USE_EXIT\"", "\"NEVER_USE_FLOAT\"", "\"NEVER_USE_FOR\"", "\"NEVER_USE_FROM\"", 117 "\"NEVER_USE_GROUP\"", "\"NEVER_USE_HAVING\"", "\"NEVER_USE_IN\"", "\"NEVER_USE_INSERT\"", "\"NEVER_USE_INTEGER\"", 118 "\"NEVER_USE_INTERSECT\"", "\"NEVER_USE_INTO\"", "\"NEVER_USE_IS\"", "\"NEVER_USE_LIKE\"", "\"NEVER_USE_LOCK\"", 119 "\"NEVER_USE_MAX\"", "\"NEVER_USE_MIN\"", "\"NEVER_USE_MINUS\"", "\"NEVER_USE_MODE\"", "\"NEVER_USE_NATURAL\"", 120 "\"NEVER_USE_NOT\"", "\"NEVER_USE_NOWAIT\"", "\"NEVER_USE_NULL\"", "\"NEVER_USE_NUMBER\"", "\"NEVER_USE_OF\"", 121 "\"NEVER_USE_ONLY\"", "\"NEVER_USE_OR\"", "\"NEVER_USE_ORDER\"", "\"NEVER_USE_PRIOR\"", "\"NEVER_USE_QUIT\"", 122 "\"NEVER_USE_READ\"", "\"NEVER_USE_REAL\"", "\"NEVER_USE_ROLLBACK\"", "\"NEVER_USE_ROW\"", "\"NEVER_USE_SELECT\"", 123 "\"NEVER_USE_SET\"", "\"NEVER_USE_SHARE\"", "\"NEVER_USE_SMALLINT\"", "\"NEVER_USE_START\"", "\"NEVER_USE_SUM\"", 124 "\"NEVER_USE_TABLE\"", "\"NEVER_USE_TRANSACTION\"", "\"NEVER_USE_UNION\"", "\"NEVER_USE_UPDATE\"", "\"NEVER_USE_VALUES\"", 125 "\"NEVER_USE_VARCHAR2\"", "\"NEVER_USE_VARCHAR\"", "\"NEVER_USE_WHERE\"", "\"NEVER_USE_WITH\"", "\"NEVER_USE_WORK\"", 126 "\"NEVER_USE_WRITE\"", "<S_NUMBER>", "<FLOAT>", "<INTEGER>", "<DIGIT>", 127 "<LINE_COMMENT>", "<MULTI_LINE_COMMENT>", "<S_IDENTIFIER>", "<LETTER>", "<SPECIAL_CHARS>", "<S_BIND>", "<S_CHAR_LITERAL>", 128 "<S_QUOTED_IDENTIFIER>", "\"(\"", "\",\"", 129 "\")\"", "\";\"", "\"=\"", "\".\"", "\"!=\"", "\"#\"", "\"<>\"", "\">\"", "\">=\"", "\"<\"", 130 "\"<=\"", "\"+\"", "\"-\"", "\"*\"", "\".*\"", "\"?\"", "\"||\"", "\"/\"", "\"**\"" 131 };*/ 132 public static final String tokenImage[] = { 133 "<EOF>", "\" \"", "\"\\t\"", "\"\\r\"", "\"\\n\"", "\"ALL\"", "\"AND\"", "\"ANY\"", "\"AS\"", "\"ASC\"", 134 "\"AVG\"", "\"BETWEEN\"", "\"BINARY_INTEGER\"", "\"BOOLEAN\"", "\"BY\"", "\"CHAR\"", "\"COMMENT\"", "\"COMMIT\"", "\"CONNECT\"", "\"COUNT\"", 135 "\"DATE\"", "\"DELETE\"", "\"DESC\"", "\"DISTINCT\"", "\"EXCLUSIVE\"", "\"EXISTS\"", "\"EXIT\"", "\"FLOAT\"", "\"FOR\"", "\"FROM\"", 136 "\"GROUP\"", "\"HAVING\"", "\"IN\"", "\"INSERT\"", "\"INTEGER\"", "\"INTERSECT\"", "\"INTO\"", "\"IS\"", "\"LIKE\"", "\"LOCK\"", 137 "\"MAX\"", "\"MIN\"", "\"MINUS\"", "\"MODE\"", "\"NATURAL\"", "\"NOT\"", "\"NOWAIT\"", "\"NULL\"", "\"NUMBER\"", "\"OF\"", 138 "\"ONLY\"", "\"OR\"", "\"ORDER\"", "\"PRIOR\"", "\"QUIT\"", "\"READ\"", "\"REAL\"", "\"ROLLBACK\"", "\"ROW\"", "\"SELECT\"", 139 "\"SET\"", "\"SHARE\"", "\"SMALLINT\"", "\"START\"", "\"SUM\"", "\"TABLE\"", "\"TRANSACTION\"", "\"UNION\"", "\"UPDATE\"", "\"VALUES\"", 140 "\"VARCHAR2\"", "\"VARCHAR\"", "\"WHERE\"", "\"WITH\"", "\"WORK\"", "\"WRITE\"", "<S_NUMBER>", "<FLOAT>", "<INTEGER>", "<DIGIT>", 141 "<LINE_COMMENT>", "<MULTI_LINE_COMMENT>", "<S_IDENTIFIER>", "<LETTER>", "<SPECIAL_CHARS>", "<S_BIND>", "<S_CHAR_LITERAL>", "<S_QUOTED_IDENTIFIER>", "\"(\"", "\",\"", 142 "\")\"", "\";\"", "\"=\"", "\".\"", "\"!=\"", "\"#\"", "\"<>\"", "\">\"", "\">=\"", "\"<\"", 143 "\"<=\"", "\"+\"", "\"-\"", "\"*\"", "\".*\"", "\"?\"", "\"||\"", "\"/\"", "\"**\"" 144 }; 145 146}