001    /**
002     *   GRANITE DATA SERVICES
003     *   Copyright (C) 2006-2013 GRANITE DATA SERVICES S.A.S.
004     *
005     *   This file is part of the Granite Data Services Platform.
006     *
007     *   Granite Data Services is free software; you can redistribute it and/or
008     *   modify it under the terms of the GNU Lesser General Public
009     *   License as published by the Free Software Foundation; either
010     *   version 2.1 of the License, or (at your option) any later version.
011     *
012     *   Granite Data Services is distributed in the hope that it will be useful,
013     *   but WITHOUT ANY WARRANTY; without even the implied warranty of
014     *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
015     *   General Public License for more details.
016     *
017     *   You should have received a copy of the GNU Lesser General Public
018     *   License along with this library; if not, write to the Free Software
019     *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
020     *   USA, or see <http://www.gnu.org/licenses/>.
021     */
022    /* Generated By:JavaCC: Do not edit this line. SelectorParserConstants.java */
023    /**
024     *
025     * Licensed to the Apache Software Foundation (ASF) under one or more
026     * contributor license agreements.  See the NOTICE file distributed with
027     * this work for additional information regarding copyright ownership.
028     * The ASF licenses this file to You under the Apache License, Version 2.0
029     * (the "License"); you may not use this file except in compliance with
030     * the License.  You may obtain a copy of the License at
031     *
032     * http://www.apache.org/licenses/LICENSE-2.0
033     *
034     * Unless required by applicable law or agreed to in writing, software
035     * distributed under the License is distributed on an "AS IS" BASIS,
036     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
037     * See the License for the specific language governing permissions and
038     * limitations under the License.
039     */
040    
041    package org.granite.gravity.selector;
042    
043    public interface SelectorParserConstants {
044    
045      int EOF = 0;
046      int LINE_COMMENT = 6;
047      int BLOCK_COMMENT = 7;
048      int NOT = 8;
049      int AND = 9;
050      int OR = 10;
051      int BETWEEN = 11;
052      int LIKE = 12;
053      int ESCAPE = 13;
054      int IN = 14;
055      int IS = 15;
056      int TRUE = 16;
057      int FALSE = 17;
058      int NULL = 18;
059      int XPATH = 19;
060      int XQUERY = 20;
061      int DECIMAL_LITERAL = 21;
062      int HEX_LITERAL = 22;
063      int OCTAL_LITERAL = 23;
064      int FLOATING_POINT_LITERAL = 24;
065      int EXPONENT = 25;
066      int STRING_LITERAL = 26;
067      int ID = 27;
068    
069      int DEFAULT = 0;
070    
071      String[] tokenImage = {
072        "<EOF>",
073        "\" \"",
074        "\"\\t\"",
075        "\"\\n\"",
076        "\"\\r\"",
077        "\"\\f\"",
078        "<LINE_COMMENT>",
079        "<BLOCK_COMMENT>",
080        "\"NOT\"",
081        "\"AND\"",
082        "\"OR\"",
083        "\"BETWEEN\"",
084        "\"LIKE\"",
085        "\"ESCAPE\"",
086        "\"IN\"",
087        "\"IS\"",
088        "\"TRUE\"",
089        "\"FALSE\"",
090        "\"NULL\"",
091        "\"XPATH\"",
092        "\"XQUERY\"",
093        "<DECIMAL_LITERAL>",
094        "<HEX_LITERAL>",
095        "<OCTAL_LITERAL>",
096        "<FLOATING_POINT_LITERAL>",
097        "<EXPONENT>",
098        "<STRING_LITERAL>",
099        "<ID>",
100        "\"=\"",
101        "\"<>\"",
102        "\">\"",
103        "\">=\"",
104        "\"<\"",
105        "\"<=\"",
106        "\"(\"",
107        "\",\"",
108        "\")\"",
109        "\"+\"",
110        "\"-\"",
111        "\"*\"",
112        "\"/\"",
113        "\"%\"",
114      };
115    
116    }