01: // $ANTLR 2.7.5 (20050128): "oql-ojb.g" -> "OQLParser.java"$
02:
03: /* Copyright 2003-2005 The Apache Software Foundation
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: package org.apache.ojb.odmg.oql;
19:
20: public interface OQLLexerTokenTypes {
21: int EOF = 1;
22: int NULL_TREE_LOOKAHEAD = 3;
23: int TOK_RPAREN = 4;
24: int TOK_LPAREN = 5;
25: int TOK_COMMA = 6;
26: int TOK_SEMIC = 7;
27: int TOK_COLON = 8;
28: int TOK_DOT = 9;
29: int TOK_INDIRECT = 10;
30: int TOK_CONCAT = 11;
31: int TOK_EQ = 12;
32: int TOK_PLUS = 13;
33: int TOK_MINUS = 14;
34: int TOK_SLASH = 15;
35: int TOK_STAR = 16;
36: int TOK_LE = 17;
37: int TOK_GE = 18;
38: int TOK_NE = 19;
39: int TOK_NE2 = 20;
40: int TOK_LT = 21;
41: int TOK_GT = 22;
42: int TOK_LBRACK = 23;
43: int TOK_RBRACK = 24;
44: int TOK_DOLLAR = 25;
45: int NameFirstCharacter = 26;
46: int NameCharacter = 27;
47: int Identifier = 28;
48: int TOK_UNSIGNED_INTEGER = 29;
49: int TOK_APPROXIMATE_NUMERIC_LITERAL = 30;
50: int TOK_EXACT_NUMERIC_LITERAL = 31;
51: int CharLiteral = 32;
52: int StringLiteral = 33;
53: int WhiteSpace = 34;
54: int NewLine = 35;
55: int CommentLine = 36;
56: int MultiLineComment = 37;
57: int LITERAL_select = 38;
58: int LITERAL_distinct = 39;
59: int LITERAL_from = 40;
60: int LITERAL_where = 41;
61: int LITERAL_order = 42;
62: int LITERAL_by = 43;
63: int LITERAL_group = 44;
64: int LITERAL_prefetch = 45;
65: int LITERAL_exists = 46;
66: int LITERAL_in = 47;
67: int LITERAL_asc = 48;
68: int LITERAL_desc = 49;
69: int LITERAL_or = 50;
70: int LITERAL_and = 51;
71: int LITERAL_nil = 52;
72: int LITERAL_not = 53;
73: int LITERAL_list = 54;
74: int LITERAL_between = 55;
75: int LITERAL_is_undefined = 56;
76: int LITERAL_is_defined = 57;
77: int LITERAL_like = 58;
78: int LITERAL_true = 59;
79: int LITERAL_false = 60;
80: int LITERAL_date = 61;
81: int LITERAL_time = 62;
82: int LITERAL_timestamp = 63;
83: }
|