cvsimport
[beagle.git] / beagled / Lucene.Net / QueryParser / QueryParserConstants.cs
blobfebd81c56a45672001cd7d63409de461fa780e4a
1 /*
2 * Copyright 2004 The Apache Software Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 /* Generated By:JavaCC: Do not edit this line. QueryParserConstants.java */
19 using System;
21 namespace Lucene.Net.QueryParsers
24 public class QueryParserConstants
26 public const int EOF = 0;
27 public const int _NUM_CHAR = 1;
28 public const int _ESCAPED_CHAR = 2;
29 public const int _TERM_START_CHAR = 3;
30 public const int _TERM_CHAR = 4;
31 public const int _WHITESPACE = 5;
32 public const int AND = 7;
33 public const int OR = 8;
34 public const int NOT = 9;
35 public const int PLUS = 10;
36 public const int MINUS = 11;
37 public const int LPAREN = 12;
38 public const int RPAREN = 13;
39 public const int COLON = 14;
40 public const int CARAT = 15;
41 public const int QUOTED = 16;
42 public const int TERM = 17;
43 public const int FUZZY_SLOP = 18;
44 public const int PREFIXTERM = 19;
45 public const int WILDTERM = 20;
46 public const int RANGEIN_START = 21;
47 public const int RANGEEX_START = 22;
48 public const int NUMBER = 23;
49 public const int RANGEIN_TO = 24;
50 public const int RANGEIN_END = 25;
51 public const int RANGEIN_QUOTED = 26;
52 public const int RANGEIN_GOOP = 27;
53 public const int RANGEEX_TO = 28;
54 public const int RANGEEX_END = 29;
55 public const int RANGEEX_QUOTED = 30;
56 public const int RANGEEX_GOOP = 31;
57 public const int Boost = 0;
58 public const int RangeEx = 1;
59 public const int RangeIn = 2;
60 public const int DEFAULT = 3;
61 public static System.String[] tokenImage = new System.String[]{"<EOF>", "<_NUM_CHAR>", "<_ESCAPED_CHAR>", "<_TERM_START_CHAR>", "<_TERM_CHAR>", "<_WHITESPACE>", "<token of kind 6>", "<AND>", "<OR>", "<NOT>", "\"+\"", "\"-\"", "\"(\"", "\")\"", "\":\"", "\"^\"", "<QUOTED>", "<TERM>", "<FUZZY_SLOP>", "<PREFIXTERM>", "<WILDTERM>", "\"[\"", "\"{\"", "<NUMBER>", "\"TO\"", "\"]\"", "<RANGEIN_QUOTED>", "<RANGEIN_GOOP>", "\"TO\"", "\"}\"", "<RANGEEX_QUOTED>", "<RANGEEX_GOOP>"};