org.python.parser.PythonGrammarConstants Maven / Gradle / Ivy
Go to download
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
/* Generated By:JJTree&JavaCC: Do not edit this line. PythonGrammarConstants.java */
package org.python.parser;
public interface PythonGrammarConstants {
int EOF = 0;
int SPACE = 1;
int CONTINUATION = 4;
int NEWLINE1 = 5;
int NEWLINE = 6;
int NEWLINE2 = 7;
int CRLF1 = 12;
int DEDENT = 14;
int INDENT = 15;
int TRAILING_COMMENT = 16;
int SINGLE_LINE_COMMENT = 17;
int LPAREN = 18;
int RPAREN = 19;
int LBRACE = 20;
int RBRACE = 21;
int LBRACKET = 22;
int RBRACKET = 23;
int SEMICOLON = 24;
int COMMA = 25;
int DOT = 26;
int COLON = 27;
int PLUS = 28;
int MINUS = 29;
int MULTIPLY = 30;
int DIVIDE = 31;
int FLOORDIVIDE = 32;
int POWER = 33;
int LSHIFT = 34;
int RSHIFT = 35;
int MODULO = 36;
int NOT = 37;
int XOR = 38;
int OR = 39;
int AND = 40;
int EQUAL = 41;
int GREATER = 42;
int LESS = 43;
int EQEQUAL = 44;
int EQLESS = 45;
int EQGREATER = 46;
int LESSGREATER = 47;
int NOTEQUAL = 48;
int PLUSEQ = 49;
int MINUSEQ = 50;
int MULTIPLYEQ = 51;
int DIVIDEEQ = 52;
int FLOORDIVIDEEQ = 53;
int MODULOEQ = 54;
int ANDEQ = 55;
int OREQ = 56;
int XOREQ = 57;
int LSHIFTEQ = 58;
int RSHIFTEQ = 59;
int POWEREQ = 60;
int OR_BOOL = 61;
int AND_BOOL = 62;
int NOT_BOOL = 63;
int IS = 64;
int IN = 65;
int LAMBDA = 66;
int IF = 67;
int ELSE = 68;
int ELIF = 69;
int WHILE = 70;
int FOR = 71;
int TRY = 72;
int EXCEPT = 73;
int DEF = 74;
int CLASS = 75;
int FINALLY = 76;
int PRINT = 77;
int PASS = 78;
int BREAK = 79;
int CONTINUE = 80;
int RETURN = 81;
int YIELD = 82;
int IMPORT = 83;
int FROM = 84;
int DEL = 85;
int RAISE = 86;
int GLOBAL = 87;
int EXEC = 88;
int ASSERT = 89;
int AS = 90;
int NAME = 91;
int LETTER = 92;
int DECNUMBER = 93;
int HEXNUMBER = 94;
int OCTNUMBER = 95;
int FLOAT = 96;
int COMPLEX = 97;
int EXPONENT = 98;
int DIGIT = 99;
int SINGLE_STRING = 108;
int SINGLE_STRING2 = 109;
int TRIPLE_STRING = 110;
int TRIPLE_STRING2 = 111;
int SINGLE_USTRING = 112;
int SINGLE_USTRING2 = 113;
int TRIPLE_USTRING = 114;
int TRIPLE_USTRING2 = 115;
int DEFAULT = 0;
int FORCE_NEWLINE1 = 1;
int FORCE_NEWLINE2 = 2;
int MAYBE_FORCE_NEWLINE_IF_EOF = 3;
int INDENTING = 4;
int INDENTATION_UNCHANGED = 5;
int UNREACHABLE = 6;
int IN_STRING11 = 7;
int IN_STRING21 = 8;
int IN_STRING13 = 9;
int IN_STRING23 = 10;
int IN_USTRING11 = 11;
int IN_USTRING21 = 12;
int IN_USTRING13 = 13;
int IN_USTRING23 = 14;
int IN_STRING1NLC = 15;
int IN_STRING2NLC = 16;
int IN_USTRING1NLC = 17;
int IN_USTRING2NLC = 18;
String[] tokenImage = {
"",
"\" \"",
"\"\\t\"",
"\"\\f\"",
"",
"",
"",
"",
"\"\"",
"\"\\t\"",
"\" \"",
"\"\\f\"",
"",
"\"\"",
"\"\"",
"\"\"",
"",
"",
"\"(\"",
"\")\"",
"\"{\"",
"\"}\"",
"\"[\"",
"\"]\"",
"\";\"",
"\",\"",
"\".\"",
"\":\"",
"\"+\"",
"\"-\"",
"\"*\"",
"\"/\"",
"\"//\"",
"\"**\"",
"\"<<\"",
"\">>\"",
"\"%\"",
"\"~\"",
"\"^\"",
"\"|\"",
"\"&\"",
"\"=\"",
"\">\"",
"\"<\"",
"\"==\"",
"\"<=\"",
"\">=\"",
"\"<>\"",
"\"!=\"",
"\"+=\"",
"\"-=\"",
"\"*=\"",
"\"/=\"",
"\"//=\"",
"\"%=\"",
"\"&=\"",
"\"|=\"",
"\"^=\"",
"\"<<=\"",
"\">>=\"",
"\"**=\"",
"\"or\"",
"\"and\"",
"\"not\"",
"\"is\"",
"\"in\"",
"\"lambda\"",
"\"if\"",
"\"else\"",
"\"elif\"",
"\"while\"",
"\"for\"",
"\"try\"",
"\"except\"",
"\"def\"",
"\"class\"",
"\"finally\"",
"\"print\"",
"\"pass\"",
"\"break\"",
"\"continue\"",
"\"return\"",
"\"yield\"",
"\"import\"",
"\"from\"",
"\"del\"",
"\"raise\"",
"\"global\"",
"\"exec\"",
"\"assert\"",
"\"as\"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\"\\\'\"",
"\"\\\"\"",
"\"\\\'\\\'\\\'\"",
"\"\\\"\\\"\\\"\"",
"\"\\\'\"",
"\"\\\"\"",
"\"\\\'\\\'\\\'\"",
"\"\\\"\\\"\\\"\"",
"\"\\\\\\r\\n\"",
"",
"\"\\\\\\r\\n\"",
"",
"\"\\\\\\r\\n\"",
"",
"\"\\\\\\r\\n\"",
"",
"\"\"",
"\"\"",
"\"\"",
"\"\"",
"",
"",
"\"\\r\\n\"",
"\"\\n\"",
"\"\\r\"",
"",
"",
"\"`\"",
};
}