/* | |
* Licensed to the Apache Software Foundation (ASF) under one or more | |
* contributor license agreements. See the NOTICE file distributed with | |
* this work for additional information regarding copyright ownership. | |
* The ASF licenses this file to You 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 STAR = 15; | |
public const int CARAT = 16; | |
public const int QUOTED = 17; | |
public const int TERM = 18; | |
public const int FUZZY_SLOP = 19; | |
public const int PREFIXTERM = 20; | |
public const int WILDTERM = 21; | |
public const int RANGEIN_START = 22; | |
public const int RANGEEX_START = 23; | |
public const int NUMBER = 24; | |
public const int RANGEIN_TO = 25; | |
public const int RANGEIN_END = 26; | |
public const int RANGEIN_QUOTED = 27; | |
public const int RANGEIN_GOOP = 28; | |
public const int RANGEEX_TO = 29; | |
public const int RANGEEX_END = 30; | |
public const int RANGEEX_QUOTED = 31; | |
public const int RANGEEX_GOOP = 32; | |
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>"}; | |
} | |
} |