001 /* Generated By:JavaCC: Do not edit this line. RccConstants.java */
002 /**
003 * Licensed to the Apache Software Foundation (ASF) under one
004 * or more contributor license agreements. See the NOTICE file
005 * distributed with this work for additional information
006 * regarding copyright ownership. The ASF licenses this file
007 * to you under the Apache License, Version 2.0 (the
008 * "License"); you may not use this file except in compliance
009 * with the License. You may obtain a copy of the License at
010 *
011 * http://www.apache.org/licenses/LICENSE-2.0
012 *
013 * Unless required by applicable law or agreed to in writing, software
014 * distributed under the License is distributed on an "AS IS" BASIS,
015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
016 * See the License for the specific language governing permissions and
017 * limitations under the License.
018 */
019
020 package org.apache.hadoop.record.compiler.generated;
021
022 import org.apache.hadoop.classification.InterfaceAudience;
023 import org.apache.hadoop.classification.InterfaceStability;
024
025 /**
026 * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
027 */
028 @Deprecated
029 @InterfaceAudience.Public
030 @InterfaceStability.Stable
031 public interface RccConstants {
032
033 int EOF = 0;
034 int MODULE_TKN = 11;
035 int RECORD_TKN = 12;
036 int INCLUDE_TKN = 13;
037 int BYTE_TKN = 14;
038 int BOOLEAN_TKN = 15;
039 int INT_TKN = 16;
040 int LONG_TKN = 17;
041 int FLOAT_TKN = 18;
042 int DOUBLE_TKN = 19;
043 int USTRING_TKN = 20;
044 int BUFFER_TKN = 21;
045 int VECTOR_TKN = 22;
046 int MAP_TKN = 23;
047 int LBRACE_TKN = 24;
048 int RBRACE_TKN = 25;
049 int LT_TKN = 26;
050 int GT_TKN = 27;
051 int SEMICOLON_TKN = 28;
052 int COMMA_TKN = 29;
053 int DOT_TKN = 30;
054 int CSTRING_TKN = 31;
055 int IDENT_TKN = 32;
056
057 int DEFAULT = 0;
058 int WithinOneLineComment = 1;
059 int WithinMultiLineComment = 2;
060
061 String[] tokenImage = {
062 "<EOF>",
063 "\" \"",
064 "\"\\t\"",
065 "\"\\n\"",
066 "\"\\r\"",
067 "\"//\"",
068 "<token of kind 6>",
069 "<token of kind 7>",
070 "\"/*\"",
071 "\"*/\"",
072 "<token of kind 10>",
073 "\"module\"",
074 "\"class\"",
075 "\"include\"",
076 "\"byte\"",
077 "\"boolean\"",
078 "\"int\"",
079 "\"long\"",
080 "\"float\"",
081 "\"double\"",
082 "\"ustring\"",
083 "\"buffer\"",
084 "\"vector\"",
085 "\"map\"",
086 "\"{\"",
087 "\"}\"",
088 "\"<\"",
089 "\">\"",
090 "\";\"",
091 "\",\"",
092 "\".\"",
093 "<CSTRING_TKN>",
094 "<IDENT_TKN>",
095 };
096
097 }