001: /* Generated By:JJTree: Do not edit this line. /Users/fwier/src/jython/org/python/parser/PythonGrammarTreeConstants.java */
002:
003: package org.python.parser;
004:
005: public interface PythonGrammarTreeConstants {
006: public int JJTSINGLE_INPUT = 0;
007: public int JJTFILE_INPUT = 1;
008: public int JJTEVAL_INPUT = 2;
009: public int JJTFUNCDEF = 3;
010: public int JJTVOID = 4;
011: public int JJTEXTRAARGLIST = 5;
012: public int JJTEXTRAKEYWORDLIST = 6;
013: public int JJTDEFAULTARG = 7;
014: public int JJTTUPLE = 8;
015: public int JJTAUG_PLUS = 9;
016: public int JJTAUG_MINUS = 10;
017: public int JJTAUG_MULTIPLY = 11;
018: public int JJTAUG_DIVIDE = 12;
019: public int JJTAUG_FLOORDIVIDE = 13;
020: public int JJTAUG_MODULO = 14;
021: public int JJTAUG_AND = 15;
022: public int JJTAUG_OR = 16;
023: public int JJTAUG_XOR = 17;
024: public int JJTAUG_LSHIFT = 18;
025: public int JJTAUG_RSHIFT = 19;
026: public int JJTAUG_POWER = 20;
027: public int JJTEXPR_STMT = 21;
028: public int JJTPRINTEXT_STMT = 22;
029: public int JJTPRINT_STMT = 23;
030: public int JJTDEL_STMT = 24;
031: public int JJTPASS_STMT = 25;
032: public int JJTBREAK_STMT = 26;
033: public int JJTCONTINUE_STMT = 27;
034: public int JJTRETURN_STMT = 28;
035: public int JJTYIELD_STMT = 29;
036: public int JJTRAISE_STMT = 30;
037: public int JJTIMPORT = 31;
038: public int JJTIMPORTFROM = 32;
039: public int JJTDOTTED_AS_NAME = 33;
040: public int JJTDOTTED_NAME = 34;
041: public int JJTIMPORT_AS_NAME = 35;
042: public int JJTGLOBAL_STMT = 36;
043: public int JJTEXEC_STMT = 37;
044: public int JJTASSERT_STMT = 38;
045: public int JJTIF_STMT = 39;
046: public int JJTWHILE_STMT = 40;
047: public int JJTFOR_STMT = 41;
048: public int JJTTRY_STMT = 42;
049: public int JJTTRYFINALLY_STMT = 43;
050: public int JJTEXCEPT_CLAUSE = 44;
051: public int JJTSUITE = 45;
052: public int JJTOR_BOOLEAN = 46;
053: public int JJTAND_BOOLEAN = 47;
054: public int JJTNOT_1OP = 48;
055: public int JJTCOMPARISION = 49;
056: public int JJTLESS_CMP = 50;
057: public int JJTGREATER_CMP = 51;
058: public int JJTEQUAL_CMP = 52;
059: public int JJTGREATER_EQUAL_CMP = 53;
060: public int JJTLESS_EQUAL_CMP = 54;
061: public int JJTNOTEQUAL_CMP = 55;
062: public int JJTIN_CMP = 56;
063: public int JJTNOT_IN_CMP = 57;
064: public int JJTIS_NOT_CMP = 58;
065: public int JJTIS_CMP = 59;
066: public int JJTOR_2OP = 60;
067: public int JJTXOR_2OP = 61;
068: public int JJTAND_2OP = 62;
069: public int JJTLSHIFT_2OP = 63;
070: public int JJTRSHIFT_2OP = 64;
071: public int JJTADD_2OP = 65;
072: public int JJTSUB_2OP = 66;
073: public int JJTMUL_2OP = 67;
074: public int JJTDIV_2OP = 68;
075: public int JJTFLOORDIV_2OP = 69;
076: public int JJTMOD_2OP = 70;
077: public int JJTPOS_1OP = 71;
078: public int JJTNEG_1OP = 72;
079: public int JJTINVERT_1OP = 73;
080: public int JJTPOW_2OP = 74;
081: public int JJTCALL_OP = 75;
082: public int JJTINDEX_OP = 76;
083: public int JJTDOT_OP = 77;
084: public int JJTLIST = 78;
085: public int JJTDICTIONARY = 79;
086: public int JJTSTR_1OP = 80;
087: public int JJTSTRJOIN = 81;
088: public int JJTLAMBDEF = 82;
089: public int JJTSUBSCRIPTLIST = 83;
090: public int JJTELLIPSES = 84;
091: public int JJTSLICE = 85;
092: public int JJTCOLON = 86;
093: public int JJTCOMMA = 87;
094: public int JJTLIST_FOR = 88;
095: public int JJTCLASSDEF = 89;
096: public int JJTEXTRAARGVALUELIST = 90;
097: public int JJTEXTRAKEYWORDVALUELIST = 91;
098: public int JJTKEYWORD = 92;
099: public int JJTNUM = 93;
100: public int JJTCOMPLEX = 94;
101: public int JJTNAME = 95;
102: public int JJTSTRING = 96;
103: public int JJTUNICODE = 97;
104:
105: public String[] jjtNodeName = { "single_input", "file_input",
106: "eval_input", "funcdef", "void", "ExtraArgList",
107: "ExtraKeywordList", "defaultarg", "tuple", "aug_plus",
108: "aug_minus", "aug_multiply", "aug_divide",
109: "aug_floordivide", "aug_modulo", "aug_and", "aug_or",
110: "aug_xor", "aug_lshift", "aug_rshift", "aug_power",
111: "expr_stmt", "printext_stmt", "print_stmt", "del_stmt",
112: "pass_stmt", "break_stmt", "continue_stmt", "return_stmt",
113: "yield_stmt", "raise_stmt", "Import", "ImportFrom",
114: "dotted_as_name", "dotted_name", "import_as_name",
115: "global_stmt", "exec_stmt", "assert_stmt", "if_stmt",
116: "while_stmt", "for_stmt", "try_stmt", "tryfinally_stmt",
117: "except_clause", "suite", "or_boolean", "and_boolean",
118: "not_1op", "comparision", "less_cmp", "greater_cmp",
119: "equal_cmp", "greater_equal_cmp", "less_equal_cmp",
120: "notequal_cmp", "in_cmp", "not_in_cmp", "is_not_cmp",
121: "is_cmp", "or_2op", "xor_2op", "and_2op", "lshift_2op",
122: "rshift_2op", "add_2op", "sub_2op", "mul_2op", "div_2op",
123: "floordiv_2op", "mod_2op", "pos_1op", "neg_1op",
124: "invert_1op", "pow_2op", "Call_Op", "Index_Op", "Dot_Op",
125: "list", "dictionary", "str_1op", "strjoin", "lambdef",
126: "subscriptlist", "Ellipses", "Slice", "Colon", "Comma",
127: "list_for", "classdef", "ExtraArgValueList",
128: "ExtraKeywordValueList", "Keyword", "Num", "Complex",
129: "Name", "String", "Unicode", };
130: }
|