All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.activemq.protobuf.compiler.parser.ProtoParserConstants Maven / Gradle / Ivy

There is a newer version: 6.1.3
Show newest version
/* Generated By:JavaCC: Do not edit this line. ProtoParserConstants.java */
/**
 * 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.
 */
package org.apache.activemq.protobuf.compiler.parser;

public interface ProtoParserConstants {

  int EOF = 0;
  int IMPORT = 8;
  int PACKAGE = 9;
  int SERVICE = 10;
  int RPC = 11;
  int OPTION = 12;
  int MESSAGE = 13;
  int EXTENSIONS = 14;
  int EXTEND = 15;
  int ENUM = 16;
  int GROUP = 17;
  int REQURIED = 18;
  int OPTIONAL = 19;
  int REPEATED = 20;
  int RETURNS = 21;
  int TO = 22;
  int MAX = 23;
  int LBRACE = 24;
  int RBRACE = 25;
  int EQUALS = 26;
  int SEMICOLON = 27;
  int LBRACKET = 28;
  int RBRACKET = 29;
  int LPAREN = 30;
  int RPAREN = 31;
  int PERIOD = 32;
  int COMMA = 33;
  int INTEGER = 34;
  int DECIMAL_LITERAL = 35;
  int HEX_LITERAL = 36;
  int OCTAL_LITERAL = 37;
  int FLOAT = 38;
  int EXPONENT = 39;
  int STRING = 40;
  int ID = 41;

  int DEFAULT = 0;
  int COMMENT = 1;

  String[] tokenImage = {
    "",
    "\" \"",
    "\"\\t\"",
    "\"\\n\"",
    "\"\\r\"",
    "\"//\"",
    "",
    "",
    "\"import\"",
    "\"package\"",
    "\"service\"",
    "\"rpc\"",
    "\"option\"",
    "\"message\"",
    "\"extensions\"",
    "\"extend\"",
    "\"enum\"",
    "\"group\"",
    "\"required\"",
    "\"optional\"",
    "\"repeated\"",
    "\"returns\"",
    "\"to\"",
    "\"max\"",
    "\"{\"",
    "\"}\"",
    "\"=\"",
    "\";\"",
    "\"[\"",
    "\"]\"",
    "\"(\"",
    "\")\"",
    "\".\"",
    "\",\"",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
  };

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy