You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/05/14 15:18:36 UTC
svn commit: r1103095 [12/24] - in /incubator/ognl/trunk/src:
main/java/org/apache/commons/ognl/ main/java/org/apache/commons/ognl/enhance/
main/java/org/apache/commons/ognl/internal/
test/java/org/apache/commons/ognl/ test/java/org/apache/commons/ognl/...
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlParserConstants.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlParserConstants.java?rev=1103095&r1=1103094&r2=1103095&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlParserConstants.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/OgnlParserConstants.java Sat May 14 13:18:29 2011
@@ -20,145 +20,85 @@
/* Generated By:JJTree&JavaCC: Do not edit this line. OgnlParserConstants.java */
package org.apache.commons.ognl;
-
-/**
- * Token literal values and constants.
- * Generated by org.javacc.parser.OtherFilesGen#start()
+/**
+ * Token literal values and constants. Generated by org.javacc.parser.OtherFilesGen#start()
*/
-public interface OgnlParserConstants {
+public interface OgnlParserConstants
+{
+
+ /** End of File. */
+ int EOF = 0;
+
+ /** RegularExpression Id. */
+ int IDENT = 64;
+
+ /** RegularExpression Id. */
+ int LETTER = 65;
+
+ /** RegularExpression Id. */
+ int DIGIT = 66;
+
+ /** RegularExpression Id. */
+ int DYNAMIC_SUBSCRIPT = 67;
+
+ /** RegularExpression Id. */
+ int ESC = 71;
+
+ /** RegularExpression Id. */
+ int CHAR_LITERAL = 73;
+
+ /** RegularExpression Id. */
+ int BACK_CHAR_ESC = 74;
+
+ /** RegularExpression Id. */
+ int BACK_CHAR_LITERAL = 76;
+
+ /** RegularExpression Id. */
+ int STRING_ESC = 77;
+
+ /** RegularExpression Id. */
+ int STRING_LITERAL = 79;
+
+ /** RegularExpression Id. */
+ int INT_LITERAL = 80;
+
+ /** RegularExpression Id. */
+ int FLT_LITERAL = 81;
+
+ /** RegularExpression Id. */
+ int DEC_FLT = 82;
+
+ /** RegularExpression Id. */
+ int DEC_DIGITS = 83;
+
+ /** RegularExpression Id. */
+ int EXPONENT = 84;
+
+ /** RegularExpression Id. */
+ int FLT_SUFF = 85;
+
+ /** Lexical state. */
+ int DEFAULT = 0;
+
+ /** Lexical state. */
+ int WithinCharLiteral = 1;
+
+ /** Lexical state. */
+ int WithinBackCharLiteral = 2;
+
+ /** Lexical state. */
+ int WithinStringLiteral = 3;
- /** End of File. */
- int EOF = 0;
- /** RegularExpression Id. */
- int IDENT = 64;
- /** RegularExpression Id. */
- int LETTER = 65;
- /** RegularExpression Id. */
- int DIGIT = 66;
- /** RegularExpression Id. */
- int DYNAMIC_SUBSCRIPT = 67;
- /** RegularExpression Id. */
- int ESC = 71;
- /** RegularExpression Id. */
- int CHAR_LITERAL = 73;
- /** RegularExpression Id. */
- int BACK_CHAR_ESC = 74;
- /** RegularExpression Id. */
- int BACK_CHAR_LITERAL = 76;
- /** RegularExpression Id. */
- int STRING_ESC = 77;
- /** RegularExpression Id. */
- int STRING_LITERAL = 79;
- /** RegularExpression Id. */
- int INT_LITERAL = 80;
- /** RegularExpression Id. */
- int FLT_LITERAL = 81;
- /** RegularExpression Id. */
- int DEC_FLT = 82;
- /** RegularExpression Id. */
- int DEC_DIGITS = 83;
- /** RegularExpression Id. */
- int EXPONENT = 84;
- /** RegularExpression Id. */
- int FLT_SUFF = 85;
-
- /** Lexical state. */
- int DEFAULT = 0;
- /** Lexical state. */
- int WithinCharLiteral = 1;
- /** Lexical state. */
- int WithinBackCharLiteral = 2;
- /** Lexical state. */
- int WithinStringLiteral = 3;
-
- /** Literal token values. */
- String[] tokenImage = {
- "<EOF>",
- "\",\"",
- "\"=\"",
- "\"?\"",
- "\":\"",
- "\"||\"",
- "\"or\"",
- "\"&&\"",
- "\"and\"",
- "\"|\"",
- "\"bor\"",
- "\"^\"",
- "\"xor\"",
- "\"&\"",
- "\"band\"",
- "\"==\"",
- "\"eq\"",
- "\"!=\"",
- "\"neq\"",
- "\"<\"",
- "\"lt\"",
- "\">\"",
- "\"gt\"",
- "\"<=\"",
- "\"lte\"",
- "\">=\"",
- "\"gte\"",
- "\"in\"",
- "\"not\"",
- "\"<<\"",
- "\"shl\"",
- "\">>\"",
- "\"shr\"",
- "\">>>\"",
- "\"ushr\"",
- "\"+\"",
- "\"-\"",
- "\"*\"",
- "\"/\"",
- "\"%\"",
- "\"~\"",
- "\"!\"",
- "\"instanceof\"",
- "\".\"",
- "\"(\"",
- "\")\"",
- "\"true\"",
- "\"false\"",
- "\"null\"",
- "\"#this\"",
- "\"#root\"",
- "\"#\"",
- "\"[\"",
- "\"]\"",
- "\"{\"",
- "\"}\"",
- "\"@\"",
- "\"new\"",
- "\"$\"",
- "\" \"",
- "\"\\t\"",
- "\"\\f\"",
- "\"\\r\"",
- "\"\\n\"",
- "<IDENT>",
- "<LETTER>",
- "<DIGIT>",
- "<DYNAMIC_SUBSCRIPT>",
- "\"`\"",
- "\"\\\'\"",
- "\"\\\"\"",
- "<ESC>",
- "<token of kind 72>",
- "\"\\\'\"",
- "<BACK_CHAR_ESC>",
- "<token of kind 75>",
- "\"`\"",
- "<STRING_ESC>",
- "<token of kind 78>",
- "\"\\\"\"",
- "<INT_LITERAL>",
- "<FLT_LITERAL>",
- "<DEC_FLT>",
- "<DEC_DIGITS>",
- "<EXPONENT>",
- "<FLT_SUFF>",
- };
+ /** Literal token values. */
+ String[] tokenImage = { "<EOF>", "\",\"", "\"=\"", "\"?\"", "\":\"", "\"||\"", "\"or\"", "\"&&\"", "\"and\"",
+ "\"|\"", "\"bor\"", "\"^\"", "\"xor\"", "\"&\"", "\"band\"", "\"==\"", "\"eq\"", "\"!=\"", "\"neq\"", "\"<\"",
+ "\"lt\"", "\">\"", "\"gt\"", "\"<=\"", "\"lte\"", "\">=\"", "\"gte\"", "\"in\"", "\"not\"", "\"<<\"",
+ "\"shl\"", "\">>\"", "\"shr\"", "\">>>\"", "\"ushr\"", "\"+\"", "\"-\"", "\"*\"", "\"/\"", "\"%\"", "\"~\"",
+ "\"!\"", "\"instanceof\"", "\".\"", "\"(\"", "\")\"", "\"true\"", "\"false\"", "\"null\"", "\"#this\"",
+ "\"#root\"", "\"#\"", "\"[\"", "\"]\"", "\"{\"", "\"}\"", "\"@\"", "\"new\"", "\"$\"", "\" \"", "\"\\t\"",
+ "\"\\f\"", "\"\\r\"", "\"\\n\"", "<IDENT>", "<LETTER>", "<DIGIT>", "<DYNAMIC_SUBSCRIPT>", "\"`\"", "\"\\\'\"",
+ "\"\\\"\"", "<ESC>", "<token of kind 72>", "\"\\\'\"", "<BACK_CHAR_ESC>", "<token of kind 75>", "\"`\"",
+ "<STRING_ESC>", "<token of kind 78>", "\"\\\"\"", "<INT_LITERAL>", "<FLT_LITERAL>", "<DEC_FLT>",
+ "<DEC_DIGITS>", "<EXPONENT>", "<FLT_SUFF>", };
}