/* * 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. protected internal const int EndOfFileToken = 0; /// RegularExpression Id. protected internal const int NumCharToken = 1; /// RegularExpression Id. protected internal const int EscapedCharToken = 2; /// RegularExpression Id. protected internal const int TermStartCharToken = 3; /// RegularExpression Id. protected internal const int TermCharToken = 4; /// RegularExpression Id. protected internal const int WhitespaceToken = 5; /// RegularExpression Id. protected internal const int QuotedCharToken = 6; /// RegularExpression Id. protected internal const int AndToken = 8; /// RegularExpression Id. protected internal const int OrToken = 9; /// RegularExpression Id. protected internal const int NotToken = 10; /// RegularExpression Id. protected internal const int PlusToken = 11; /// RegularExpression Id. protected internal const int MinusToken = 12; /// RegularExpression Id. protected internal const int LParanToken = 13; /// RegularExpression Id. protected internal const int RParenToken = 14; /// RegularExpression Id. protected internal const int ColonToken = 15; /// RegularExpression Id. protected internal const int StarToken = 16; /// RegularExpression Id. protected internal const int CaratToken = 17; /// RegularExpression Id. protected internal const int QuotedToken = 18; /// RegularExpression Id. protected internal const int TermToken = 19; /// RegularExpression Id. protected internal const int FuzzySlopToken = 20; /// RegularExpression Id. protected internal const int PrefixTermToken = 21; /// RegularExpression Id. protected internal const int WildTermToken = 22; /// RegularExpression Id. protected internal const int RangeInStartToken = 23; /// RegularExpression Id. protected internal const int RangeExStartToken = 24; /// RegularExpression Id. protected internal const int NumberToken = 25; /// RegularExpression Id. protected internal const int RangeInToToken = 26; /// RegularExpression Id. protected internal const int RangeInEndToken = 27; /// RegularExpression Id. protected internal const int RangeInQuotedToken = 28; /// RegularExpression Id. protected internal const int RangeInGoopToken = 29; /// RegularExpression Id. protected internal const int RangeExToToken = 30; /// RegularExpression Id. protected internal const int RangeExEndToken = 31; /// RegularExpression Id. protected internal const int RangeExQuotedToken = 32; /// RegularExpression Id. protected internal const int RangeExGoopToken = 33; /// Lexical state. protected internal const int BoostToken = 0; /// Lexical state. protected const int RangeExToken = 1; /// Lexical state. protected internal const int RangeInToken = 2; /// Lexical state. protected internal const int DefaultToken = 3; /// Literal token values. protected internal static System.String[] tokenImage = new System.String[] { "", "<_NUM_CHAR>", "<_ESCAPED_CHAR>", "<_TERM_START_CHAR>", "<_TERM_CHAR>", "<_WHITESPACE>", "<_QUOTED_CHAR>", "", "", "", "", "\"+\"", "\"-\"", "\"(\"", "\")\"", "\":\"", "\"*\"", "\"^\"", "", "", "", "", "", "\"[\"", "\"{\"", "", "\"TO\"", "\"]\"", "", "", "\"TO\"", "\"}\"", "", "" }; } }