KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > controls > system > jdbc > parser > SqlGrammarConstants


1 /* Generated By:JavaCC: Do not edit this line. SqlGrammarConstants.java */
2 package org.apache.beehive.controls.system.jdbc.parser;
3
4 public interface SqlGrammarConstants {
5
6   int EOF = 0;
7   int NON_EXPRESSION_TEXT = 1;
8   int START_EXPRESSION = 2;
9   int SQUOTE = 3;
10   int STRING_LITERAL = 4;
11   int ECMA_ESCAPE_SEQUENCE = 5;
12   int HIT = 6;
13   int END_EXPRESSION = 7;
14   int REFLECT_SEP = 8;
15   int SQL_ESCAPE = 9;
16   int SQL_SUBST = 10;
17   int SQL_FN = 11;
18   int JDBC_CALL = 12;
19   int JDBC_RET = 13;
20   int JDBC_DATE = 14;
21   int JDBC_TIME = 15;
22   int JDBC_TIMESTAMP = 16;
23   int JDBC_FUNCTION = 17;
24   int JDBC_ESCAPE = 18;
25   int JDBC_OUTERJOIN = 19;
26   int WHITESPACE = 20;
27   int IDENTIFIER = 21;
28   int LETTER = 22;
29   int DIGIT = 23;
30   int SQL_FN_END = 24;
31   int SQL_FN_NM = 25;
32   int SQL_FN_PAREN = 26;
33   int SQL_FN_COMMA = 27;
34   int SQL_FN_PSTART = 28;
35   int SQL_FN_PEND = 29;
36   int SQL_FN_WHITESPACE = 30;
37   int SQL_FN_IDENTIFIER = 31;
38   int JDBC_END = 32;
39   int JDBC_LIT = 33;
40   int JDBC_PARAM = 34;
41   int PARAM_IDENTIFIER = 35;
42   int PARAM_REFLECT_SEP = 36;
43   int PARAM_LITERAL = 37;
44   int PARAM_END = 38;
45
46   int DEFAULT = 0;
47   int IN_LITERAL = 1;
48   int IN_EXPRESSION = 2;
49   int IN_SQLFN = 3;
50   int IN_JDBC = 4;
51   int IN_PARAM = 5;
52
53   String JavaDoc[] tokenImage = {
54     "<EOF>",
55     "<NON_EXPRESSION_TEXT>",
56     "\"{\"",
57     "\"\\\'\"",
58     "<STRING_LITERAL>",
59     "<ECMA_ESCAPE_SEQUENCE>",
60     "<HIT>",
61     "\"}\"",
62     "\"|\"",
63     "\"sql: \"",
64     "\"sql:subst \"",
65     "\"sql:fn \"",
66     "\"call \"",
67     "<JDBC_RET>",
68     "\"d \"",
69     "\"t \"",
70     "\"ts \"",
71     "\"fn \"",
72     "\"escape \"",
73     "\"oj \"",
74     "<WHITESPACE>",
75     "<IDENTIFIER>",
76     "<LETTER>",
77     "<DIGIT>",
78     "\")\"",
79     "\"in\"",
80     "\"(\"",
81     "\",\"",
82     "<SQL_FN_PSTART>",
83     "<SQL_FN_PEND>",
84     "<SQL_FN_WHITESPACE>",
85     "<SQL_FN_IDENTIFIER>",
86     "<JDBC_END>",
87     "<JDBC_LIT>",
88     "<JDBC_PARAM>",
89     "<PARAM_IDENTIFIER>",
90     "<PARAM_REFLECT_SEP>",
91     "<PARAM_LITERAL>",
92     "<PARAM_END>",
93   };
94
95 }
96
Popular Tags