1 2 package org.nfunk.jep; 3 4 public interface ParserConstants { 5 6 int EOF = 0; 7 int INTEGER_LITERAL = 7; 8 int DECIMAL_LITERAL = 8; 9 int FLOATING_POINT_LITERAL = 9; 10 int EXPONENT = 10; 11 int STRING_LITERAL = 11; 12 int INDENTIFIER1 = 12; 13 int LETTER1 = 13; 14 int DIGIT1 = 14; 15 int INDENTIFIER2 = 15; 16 int LETTER2 = 16; 17 int DIGIT2 = 17; 18 int ASSIGN = 18; 19 int SEMI = 19; 20 int COMMA = 20; 21 int GT = 21; 22 int LT = 22; 23 int EQ = 23; 24 int LE = 24; 25 int GE = 25; 26 int NE = 26; 27 int AND = 27; 28 int OR = 28; 29 int PLUS = 29; 30 int MINUS = 30; 31 int MUL = 31; 32 int DOT = 32; 33 int DIV = 33; 34 int MOD = 34; 35 int NOT = 35; 36 int POWER = 36; 37 int CROSS = 37; 38 int LSQ = 38; 39 int RSQ = 39; 40 int LRND = 40; 41 int RRND = 41; 42 43 int NO_DOT_IN_IDENTIFIERS = 0; 44 int DEFAULT = 1; 45 46 String [] tokenImage = { 47 "<EOF>", 48 "\" \"", 49 "\"\\t\"", 50 "\"\\n\"", 51 "\"\\r\"", 52 "<token of kind 5>", 53 "<token of kind 6>", 54 "<INTEGER_LITERAL>", 55 "<DECIMAL_LITERAL>", 56 "<FLOATING_POINT_LITERAL>", 57 "<EXPONENT>", 58 "<STRING_LITERAL>", 59 "<INDENTIFIER1>", 60 "<LETTER1>", 61 "<DIGIT1>", 62 "<INDENTIFIER2>", 63 "<LETTER2>", 64 "<DIGIT2>", 65 "\"=\"", 66 "\";\"", 67 "\",\"", 68 "\">\"", 69 "\"<\"", 70 "\"==\"", 71 "\"<=\"", 72 "\">=\"", 73 "\"!=\"", 74 "\"&&\"", 75 "\"||\"", 76 "\"+\"", 77 "\"-\"", 78 "\"*\"", 79 "\".\"", 80 "\"/\"", 81 "\"%\"", 82 "\"!\"", 83 "\"^\"", 84 "\"^^\"", 85 "\"[\"", 86 "\"]\"", 87 "\"(\"", 88 "\")\"", 89 }; 90 91 } 92 | Popular Tags |