Home » lucene-3.0.1-src » org.apache.lucene.queryParser.standard.parser » [javadoc | source]

    1   /* Generated By:JavaCC: Do not edit this line. StandardSyntaxParserConstants.java */
    2   package org.apache.lucene.queryParser.standard.parser;
    3   
    4   
    5   /**
    6    * Token literal values and constants.
    7    * Generated by org.javacc.parser.OtherFilesGen#start()
    8    */
    9   public interface StandardSyntaxParserConstants {
   10   
   11     /** End of File. */
   12     int EOF = 0;
   13     /** RegularExpression Id. */
   14     int _NUM_CHAR = 1;
   15     /** RegularExpression Id. */
   16     int _ESCAPED_CHAR = 2;
   17     /** RegularExpression Id. */
   18     int _TERM_START_CHAR = 3;
   19     /** RegularExpression Id. */
   20     int _TERM_CHAR = 4;
   21     /** RegularExpression Id. */
   22     int _WHITESPACE = 5;
   23     /** RegularExpression Id. */
   24     int _QUOTED_CHAR = 6;
   25     /** RegularExpression Id. */
   26     int AND = 8;
   27     /** RegularExpression Id. */
   28     int OR = 9;
   29     /** RegularExpression Id. */
   30     int NOT = 10;
   31     /** RegularExpression Id. */
   32     int PLUS = 11;
   33     /** RegularExpression Id. */
   34     int MINUS = 12;
   35     /** RegularExpression Id. */
   36     int LPAREN = 13;
   37     /** RegularExpression Id. */
   38     int RPAREN = 14;
   39     /** RegularExpression Id. */
   40     int COLON = 15;
   41     /** RegularExpression Id. */
   42     int CARAT = 16;
   43     /** RegularExpression Id. */
   44     int QUOTED = 17;
   45     /** RegularExpression Id. */
   46     int TERM = 18;
   47     /** RegularExpression Id. */
   48     int FUZZY_SLOP = 19;
   49     /** RegularExpression Id. */
   50     int RANGEIN_START = 20;
   51     /** RegularExpression Id. */
   52     int RANGEEX_START = 21;
   53     /** RegularExpression Id. */
   54     int NUMBER = 22;
   55     /** RegularExpression Id. */
   56     int RANGEIN_TO = 23;
   57     /** RegularExpression Id. */
   58     int RANGEIN_END = 24;
   59     /** RegularExpression Id. */
   60     int RANGEIN_QUOTED = 25;
   61     /** RegularExpression Id. */
   62     int RANGEIN_GOOP = 26;
   63     /** RegularExpression Id. */
   64     int RANGEEX_TO = 27;
   65     /** RegularExpression Id. */
   66     int RANGEEX_END = 28;
   67     /** RegularExpression Id. */
   68     int RANGEEX_QUOTED = 29;
   69     /** RegularExpression Id. */
   70     int RANGEEX_GOOP = 30;
   71   
   72     /** Lexical state. */
   73     int Boost = 0;
   74     /** Lexical state. */
   75     int RangeEx = 1;
   76     /** Lexical state. */
   77     int RangeIn = 2;
   78     /** Lexical state. */
   79     int DEFAULT = 3;
   80   
   81     /** Literal token values. */
   82     String[] tokenImage = {
   83       "<EOF>",
   84       "<_NUM_CHAR>",
   85       "<_ESCAPED_CHAR>",
   86       "<_TERM_START_CHAR>",
   87       "<_TERM_CHAR>",
   88       "<_WHITESPACE>",
   89       "<_QUOTED_CHAR>",
   90       "<token of kind 7>",
   91       "<AND>",
   92       "<OR>",
   93       "<NOT>",
   94       "\"+\"",
   95       "\"-\"",
   96       "\"(\"",
   97       "\")\"",
   98       "\":\"",
   99       "\"^\"",
  100       "<QUOTED>",
  101       "<TERM>",
  102       "<FUZZY_SLOP>",
  103       "\"[\"",
  104       "\"{\"",
  105       "<NUMBER>",
  106       "\"TO\"",
  107       "\"]\"",
  108       "<RANGEIN_QUOTED>",
  109       "<RANGEIN_GOOP>",
  110       "\"TO\"",
  111       "\"}\"",
  112       "<RANGEEX_QUOTED>",
  113       "<RANGEEX_GOOP>",
  114     };
  115   
  116   }

Home » lucene-3.0.1-src » org.apache.lucene.queryParser.standard.parser » [javadoc | source]