QueryParserConstants.cs
上传用户:zhangkuixh
上传日期:2013-09-30
资源大小:5473k
文件大小:2k
- /*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- /* Generated By:JavaCC: Do not edit this line. QueryParserConstants.java */
- using System;
- namespace Lucene.Net.QueryParsers
- {
-
- public class QueryParserConstants
- {
- public const int EOF = 0;
- public const int _NUM_CHAR = 1;
- public const int _ESCAPED_CHAR = 2;
- public const int _TERM_START_CHAR = 3;
- public const int _TERM_CHAR = 4;
- public const int _WHITESPACE = 5;
- public const int AND = 7;
- public const int OR = 8;
- public const int NOT = 9;
- public const int PLUS = 10;
- public const int MINUS = 11;
- public const int LPAREN = 12;
- public const int RPAREN = 13;
- public const int COLON = 14;
- public const int CARAT = 15;
- public const int QUOTED = 16;
- public const int TERM = 17;
- public const int FUZZY_SLOP = 18;
- public const int PREFIXTERM = 19;
- public const int WILDTERM = 20;
- public const int RANGEIN_START = 21;
- public const int RANGEEX_START = 22;
- public const int NUMBER = 23;
- public const int RANGEIN_TO = 24;
- public const int RANGEIN_END = 25;
- public const int RANGEIN_QUOTED = 26;
- public const int RANGEIN_GOOP = 27;
- public const int RANGEEX_TO = 28;
- public const int RANGEEX_END = 29;
- public const int RANGEEX_QUOTED = 30;
- public const int RANGEEX_GOOP = 31;
- public const int Boost = 0;
- public const int RangeEx = 1;
- public const int RangeIn = 2;
- public const int DEFAULT = 3;
- 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>"};
- }
- }