1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one or more 3 * contributor license agreements. See the NOTICE file distributed with 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 7 * the License. You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 * 17 */ 18 /* Generated By:JJTree&JavaCC: Do not edit this line. MiniParserConstants.java */ 19 package Mini; 20 21 public interface MiniParserConstants { 22 23 int EOF = 0; 24 int SINGLE_LINE_COMMENT = 7; 25 int GT = 16; 26 int LT = 17; 27 int GEQ = 18; 28 int LEQ = 19; 29 int EQ = 20; 30 int NEQ = 21; 31 int NOT = 22; 32 int FALSE = 23; 33 int TRUE = 24; 34 int AND = 25; 35 int OR = 26; 36 int PLUS = 27; 37 int MINUS = 28; 38 int MULT = 29; 39 int MOD = 30; 40 int DIV = 31; 41 int LPAREN = 32; 42 int RPAREN = 33; 43 int ASSIGN = 34; 44 int COMMA = 35; 45 int READ = 36; 46 int WRITE = 37; 47 int DIGIT = 38; 48 int LETTER = 39; 49 int IDENT = 40; 50 int INTEGER = 41; 51 int STRING = 42; 52 53 int DEFAULT = 0; 54 int SINGLE_LINE_COMMENT_STATE = 1; 55 56 String[] tokenImage = { 57 "<EOF>", 58 "\" \"", 59 "\"\\t\"", 60 "\"\\n\"", 61 "\"\\r\"", 62 "\"\\f\"", 63 "\"--\"", 64 "<SINGLE_LINE_COMMENT>", 65 "<token of kind 8>", 66 "\"FUN\"", 67 "\"IF\"", 68 "\"THEN\"", 69 "\"ELSE\"", 70 "\"FI\"", 71 "\"LET\"", 72 "\"IN\"", 73 "\">\"", 74 "\"<\"", 75 "\">=\"", 76 "\"<=\"", 77 "\"==\"", 78 "\"!=\"", 79 "\"!\"", 80 "\"FALSE\"", 81 "\"TRUE\"", 82 "\"AND\"", 83 "\"OR\"", 84 "\"+\"", 85 "\"-\"", 86 "\"*\"", 87 "\"%\"", 88 "\"/\"", 89 "\"(\"", 90 "\")\"", 91 "\"=\"", 92 "\",\"", 93 "\"READ\"", 94 "\"WRITE\"", 95 "<DIGIT>", 96 "<LETTER>", 97 "<IDENT>", 98 "<INTEGER>", 99 "<STRING>", 100 }; 101 102 } 103