001 /* Generated By:JJTree&JavaCC: Do not edit this line. ParserConstants.java */ 002 package org.apache.commons.jexl2.parser; 003 004 005 /** 006 * Token literal values and constants. 007 * Generated by org.javacc.parser.OtherFilesGen#start() 008 */ 009 public interface ParserConstants { 010 011 /** End of File. */ 012 int EOF = 0; 013 /** RegularExpression Id. */ 014 int INTEGER_LITERAL = 9; 015 /** RegularExpression Id. */ 016 int FLOAT_LITERAL = 10; 017 /** RegularExpression Id. */ 018 int IF = 11; 019 /** RegularExpression Id. */ 020 int ELSE = 12; 021 /** RegularExpression Id. */ 022 int FOR = 13; 023 /** RegularExpression Id. */ 024 int FOREACH = 14; 025 /** RegularExpression Id. */ 026 int WHILE = 15; 027 /** RegularExpression Id. */ 028 int NEW = 16; 029 /** RegularExpression Id. */ 030 int EMPTY = 17; 031 /** RegularExpression Id. */ 032 int SIZE = 18; 033 /** RegularExpression Id. */ 034 int NULL = 19; 035 /** RegularExpression Id. */ 036 int TRUE = 20; 037 /** RegularExpression Id. */ 038 int FALSE = 21; 039 /** RegularExpression Id. */ 040 int LPAREN = 22; 041 /** RegularExpression Id. */ 042 int RPAREN = 23; 043 /** RegularExpression Id. */ 044 int LCURLY = 24; 045 /** RegularExpression Id. */ 046 int RCURLY = 25; 047 /** RegularExpression Id. */ 048 int LBRACKET = 26; 049 /** RegularExpression Id. */ 050 int RBRACKET = 27; 051 /** RegularExpression Id. */ 052 int SEMICOL = 28; 053 /** RegularExpression Id. */ 054 int COLON = 29; 055 /** RegularExpression Id. */ 056 int COMMA = 30; 057 /** RegularExpression Id. */ 058 int IN = 31; 059 /** RegularExpression Id. */ 060 int IDENTIFIER = 67; 061 /** RegularExpression Id. */ 062 int LETTER = 68; 063 /** RegularExpression Id. */ 064 int DIGIT = 69; 065 /** RegularExpression Id. */ 066 int STRING_LITERAL = 70; 067 068 /** Lexical state. */ 069 int FOR_EACH_IN = 0; 070 /** Lexical state. */ 071 int DEFAULT = 1; 072 073 /** Literal token values. */ 074 String[] tokenImage = { 075 "<EOF>", 076 "<token of kind 1>", 077 "<token of kind 2>", 078 "<token of kind 3>", 079 "\" \"", 080 "\"\\t\"", 081 "\"\\n\"", 082 "\"\\r\"", 083 "\"\\f\"", 084 "<INTEGER_LITERAL>", 085 "<FLOAT_LITERAL>", 086 "\"if\"", 087 "\"else\"", 088 "\"for\"", 089 "\"foreach\"", 090 "\"while\"", 091 "\"new\"", 092 "\"empty\"", 093 "\"size\"", 094 "\"null\"", 095 "\"true\"", 096 "\"false\"", 097 "\"(\"", 098 "\")\"", 099 "\"{\"", 100 "\"}\"", 101 "\"[\"", 102 "\"]\"", 103 "\";\"", 104 "\":\"", 105 "\",\"", 106 "\"in\"", 107 "\"=\"", 108 "\"?\"", 109 "\"?:\"", 110 "\"||\"", 111 "\"or\"", 112 "\"&&\"", 113 "\"and\"", 114 "\"|\"", 115 "\"^\"", 116 "\"&\"", 117 "\"==\"", 118 "\"eq\"", 119 "\"!=\"", 120 "\"ne\"", 121 "\"<\"", 122 "\"lt\"", 123 "\">\"", 124 "\"gt\"", 125 "\"<=\"", 126 "\"le\"", 127 "\">=\"", 128 "\"ge\"", 129 "\"=~\"", 130 "\"!~\"", 131 "\"+\"", 132 "\"-\"", 133 "\"*\"", 134 "\"/\"", 135 "\"div\"", 136 "\"%\"", 137 "\"mod\"", 138 "\"~\"", 139 "\"!\"", 140 "\"not\"", 141 "\".\"", 142 "<IDENTIFIER>", 143 "<LETTER>", 144 "<DIGIT>", 145 "<STRING_LITERAL>", 146 }; 147 148 }