/* * 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 { /// /// Token literal values and constants. /// Generated by org.javacc.parser.OtherFilesGen#start() /// public class QueryParserConstants { /// End of File. public const int EOF = 0; /// RegularExpression Id. public const int _NUM_CHAR = 1; /// RegularExpression Id. public const int _ESCAPED_CHAR = 2; /// RegularExpression Id. public const int _TERM_START_CHAR = 3; /// RegularExpression Id. public const int _TERM_CHAR = 4; /// RegularExpression Id. public const int _WHITESPACE = 5; /// RegularExpression Id. public const int _QUOTED_CHAR = 6; /// RegularExpression Id. public const int AND = 8; /// RegularExpression Id. public const int OR = 9; /// RegularExpression Id. public const int NOT = 10; /// RegularExpression Id. public const int PLUS = 11; /// RegularExpression Id. public const int MINUS = 12; /// RegularExpression Id. public const int LPAREN = 13; /// RegularExpression Id. public const int RPAREN = 14; /// RegularExpression Id. public const int COLON = 15; /// RegularExpression Id. public const int STAR = 16; /// RegularExpression Id. public const int CARAT = 17; /// RegularExpression Id. public const int QUOTED = 18; /// RegularExpression Id. public const int TERM = 19; /// RegularExpression Id. public const int FUZZY_SLOP = 20; /// RegularExpression Id. public const int PREFIXTERM = 21; /// RegularExpression Id. public const int WILDTERM = 22; /// RegularExpression Id. public const int RANGEIN_START = 23; /// RegularExpression Id. public const int RANGEEX_START = 24; /// RegularExpression Id. public const int NUMBER = 25; /// RegularExpression Id. public const int RANGEIN_TO = 26; /// RegularExpression Id. public const int RANGEIN_END = 27; /// RegularExpression Id. public const int RANGEIN_QUOTED = 28; /// RegularExpression Id. public const int RANGEIN_GOOP = 29; /// RegularExpression Id. public const int RANGEEX_TO = 30; /// RegularExpression Id. public const int RANGEEX_END = 31; /// RegularExpression Id. public const int RANGEEX_QUOTED = 32; /// RegularExpression Id. public const int RANGEEX_GOOP = 33; /// Lexical state. public const int Boost = 0; /// Lexical state. public const int RangeEx = 1; /// Lexical state. public const int RangeIn = 2; /// Lexical state. public const int DEFAULT = 3; /// /// Literal token values. /// public static string[] tokenImage = new string[] { "", "<_NUM_CHAR>", "<_ESCAPED_CHAR>", "<_TERM_START_CHAR>", "<_TERM_CHAR>", "<_WHITESPACE>", "<_QUOTED_CHAR>", "", "", "", "", "\"+\"", "\"-\"", "\"(\"", "\")\"", "\":\"", "\"*\"", "\"^\"", "", "", "", "", "", "\"[\"", "\"{\"", "", "\"TO\"", "\"]\"", "", "", "\"TO\"", "\"}\"", "", "" }; } }