01: /*
02: * Enhydra Java Application Server Project
03: *
04: * The contents of this file are subject to the Enhydra Public License
05: * Version 1.1 (the "License"); you may not use this file except in
06: * compliance with the License. You may obtain a copy of the License on
07: * the Enhydra web site ( http://www.enhydra.org/ ).
08: *
09: * Software distributed under the License is distributed on an "AS IS"
10: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11: * the License for the specific terms governing rights and limitations
12: * under the License.
13: *
14: * The Initial Developer of the Enhydra Application Server is Lutris
15: * Technologies, Inc. The Enhydra Application Server and portions created
16: * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17: * All Rights Reserved.
18: *
19: * Contributor(s):
20: *
21: */
22:
23: package org.enhydra.spi.conf.util;
24:
25: public interface ConfigParserConstants {
26:
27: int EOF = 0;
28: int KEYWORD = 4;
29: int WHITESPACE = 5;
30: int COMMENT = 6;
31: int WS_CHAR = 7;
32: int EOL = 8;
33: int QSTRING = 9;
34: int STRING = 10;
35: int QCHAR = 11;
36: int PLUS = 12;
37: int COMMA = 13;
38: int KW_CHAR = 14;
39: int ASSIGN = 15;
40:
41: int DEFAULT = 0;
42: int RHS = 1;
43:
44: String[] tokenImage = { "<EOF>", "\"[\"", "\"]\"",
45: "<token of kind 3>", "<KEYWORD>", "<WHITESPACE>",
46: "<COMMENT>", "<WS_CHAR>", "<EOL>", "<QSTRING>", "<STRING>",
47: "<QCHAR>", "<PLUS>", "<COMMA>", "<KW_CHAR>", "<ASSIGN>", };
48:
49: }
|