001 /* Generated By:JavaCC: Do not edit this line. OgnlParserConstants.java */ 002 package org.apache.commons.ognl; 003 004 005 /** 006 * Token literal values and constants. 007 * Generated by org.javacc.parser.OtherFilesGen#start() 008 */ 009 public interface OgnlParserConstants { 010 011 /** End of File. */ 012 int EOF = 0; 013 /** RegularExpression Id. */ 014 int IDENT = 64; 015 /** RegularExpression Id. */ 016 int LETTER = 65; 017 /** RegularExpression Id. */ 018 int DIGIT = 66; 019 /** RegularExpression Id. */ 020 int DYNAMIC_SUBSCRIPT = 67; 021 /** RegularExpression Id. */ 022 int ESC = 71; 023 /** RegularExpression Id. */ 024 int CHAR_LITERAL = 73; 025 /** RegularExpression Id. */ 026 int BACK_CHAR_ESC = 74; 027 /** RegularExpression Id. */ 028 int BACK_CHAR_LITERAL = 76; 029 /** RegularExpression Id. */ 030 int STRING_ESC = 77; 031 /** RegularExpression Id. */ 032 int STRING_LITERAL = 79; 033 /** RegularExpression Id. */ 034 int INT_LITERAL = 80; 035 /** RegularExpression Id. */ 036 int FLT_LITERAL = 81; 037 /** RegularExpression Id. */ 038 int DEC_FLT = 82; 039 /** RegularExpression Id. */ 040 int DEC_DIGITS = 83; 041 /** RegularExpression Id. */ 042 int EXPONENT = 84; 043 /** RegularExpression Id. */ 044 int FLT_SUFF = 85; 045 046 /** Lexical state. */ 047 int DEFAULT = 0; 048 /** Lexical state. */ 049 int WithinCharLiteral = 1; 050 /** Lexical state. */ 051 int WithinBackCharLiteral = 2; 052 /** Lexical state. */ 053 int WithinStringLiteral = 3; 054 055 /** Literal token values. */ 056 String[] tokenImage = { 057 "<EOF>", 058 "\",\"", 059 "\"=\"", 060 "\"?\"", 061 "\":\"", 062 "\"||\"", 063 "\"or\"", 064 "\"&&\"", 065 "\"and\"", 066 "\"|\"", 067 "\"bor\"", 068 "\"^\"", 069 "\"xor\"", 070 "\"&\"", 071 "\"band\"", 072 "\"==\"", 073 "\"eq\"", 074 "\"!=\"", 075 "\"neq\"", 076 "\"<\"", 077 "\"lt\"", 078 "\">\"", 079 "\"gt\"", 080 "\"<=\"", 081 "\"lte\"", 082 "\">=\"", 083 "\"gte\"", 084 "\"in\"", 085 "\"not\"", 086 "\"<<\"", 087 "\"shl\"", 088 "\">>\"", 089 "\"shr\"", 090 "\">>>\"", 091 "\"ushr\"", 092 "\"+\"", 093 "\"-\"", 094 "\"*\"", 095 "\"/\"", 096 "\"%\"", 097 "\"~\"", 098 "\"!\"", 099 "\"instanceof\"", 100 "\".\"", 101 "\"(\"", 102 "\")\"", 103 "\"true\"", 104 "\"false\"", 105 "\"null\"", 106 "\"#this\"", 107 "\"#root\"", 108 "\"#\"", 109 "\"[\"", 110 "\"]\"", 111 "\"{\"", 112 "\"}\"", 113 "\"@\"", 114 "\"new\"", 115 "\"$\"", 116 "\" \"", 117 "\"\\t\"", 118 "\"\\f\"", 119 "\"\\r\"", 120 "\"\\n\"", 121 "<IDENT>", 122 "<LETTER>", 123 "<DIGIT>", 124 "<DYNAMIC_SUBSCRIPT>", 125 "\"`\"", 126 "\"\\\'\"", 127 "\"\\\"\"", 128 "<ESC>", 129 "<token of kind 72>", 130 "\"\\\'\"", 131 "<BACK_CHAR_ESC>", 132 "<token of kind 75>", 133 "\"`\"", 134 "<STRING_ESC>", 135 "<token of kind 78>", 136 "\"\\\"\"", 137 "<INT_LITERAL>", 138 "<FLT_LITERAL>", 139 "<DEC_FLT>", 140 "<DEC_DIGITS>", 141 "<EXPONENT>", 142 "<FLT_SUFF>", 143 }; 144 145 }