1 2 3 package org.python.parser; 4 5 public interface PythonGrammarTreeConstants 6 { 7 public int JJTSINGLE_INPUT = 0; 8 public int JJTFILE_INPUT = 1; 9 public int JJTEVAL_INPUT = 2; 10 public int JJTFUNCDEF = 3; 11 public int JJTVOID = 4; 12 public int JJTEXTRAARGLIST = 5; 13 public int JJTEXTRAKEYWORDLIST = 6; 14 public int JJTDEFAULTARG = 7; 15 public int JJTTUPLE = 8; 16 public int JJTAUG_PLUS = 9; 17 public int JJTAUG_MINUS = 10; 18 public int JJTAUG_MULTIPLY = 11; 19 public int JJTAUG_DIVIDE = 12; 20 public int JJTAUG_FLOORDIVIDE = 13; 21 public int JJTAUG_MODULO = 14; 22 public int JJTAUG_AND = 15; 23 public int JJTAUG_OR = 16; 24 public int JJTAUG_XOR = 17; 25 public int JJTAUG_LSHIFT = 18; 26 public int JJTAUG_RSHIFT = 19; 27 public int JJTAUG_POWER = 20; 28 public int JJTEXPR_STMT = 21; 29 public int JJTPRINTEXT_STMT = 22; 30 public int JJTPRINT_STMT = 23; 31 public int JJTDEL_STMT = 24; 32 public int JJTPASS_STMT = 25; 33 public int JJTBREAK_STMT = 26; 34 public int JJTCONTINUE_STMT = 27; 35 public int JJTRETURN_STMT = 28; 36 public int JJTYIELD_STMT = 29; 37 public int JJTRAISE_STMT = 30; 38 public int JJTIMPORT = 31; 39 public int JJTIMPORTFROM = 32; 40 public int JJTDOTTED_AS_NAME = 33; 41 public int JJTDOTTED_NAME = 34; 42 public int JJTIMPORT_AS_NAME = 35; 43 public int JJTGLOBAL_STMT = 36; 44 public int JJTEXEC_STMT = 37; 45 public int JJTASSERT_STMT = 38; 46 public int JJTIF_STMT = 39; 47 public int JJTWHILE_STMT = 40; 48 public int JJTFOR_STMT = 41; 49 public int JJTTRY_STMT = 42; 50 public int JJTTRYFINALLY_STMT = 43; 51 public int JJTEXCEPT_CLAUSE = 44; 52 public int JJTSUITE = 45; 53 public int JJTOR_BOOLEAN = 46; 54 public int JJTAND_BOOLEAN = 47; 55 public int JJTNOT_1OP = 48; 56 public int JJTCOMPARISION = 49; 57 public int JJTLESS_CMP = 50; 58 public int JJTGREATER_CMP = 51; 59 public int JJTEQUAL_CMP = 52; 60 public int JJTGREATER_EQUAL_CMP = 53; 61 public int JJTLESS_EQUAL_CMP = 54; 62 public int JJTNOTEQUAL_CMP = 55; 63 public int JJTIN_CMP = 56; 64 public int JJTNOT_IN_CMP = 57; 65 public int JJTIS_NOT_CMP = 58; 66 public int JJTIS_CMP = 59; 67 public int JJTOR_2OP = 60; 68 public int JJTXOR_2OP = 61; 69 public int JJTAND_2OP = 62; 70 public int JJTLSHIFT_2OP = 63; 71 public int JJTRSHIFT_2OP = 64; 72 public int JJTADD_2OP = 65; 73 public int JJTSUB_2OP = 66; 74 public int JJTMUL_2OP = 67; 75 public int JJTDIV_2OP = 68; 76 public int JJTFLOORDIV_2OP = 69; 77 public int JJTMOD_2OP = 70; 78 public int JJTPOS_1OP = 71; 79 public int JJTNEG_1OP = 72; 80 public int JJTINVERT_1OP = 73; 81 public int JJTPOW_2OP = 74; 82 public int JJTCALL_OP = 75; 83 public int JJTINDEX_OP = 76; 84 public int JJTDOT_OP = 77; 85 public int JJTLIST = 78; 86 public int JJTDICTIONARY = 79; 87 public int JJTSTR_1OP = 80; 88 public int JJTSTRJOIN = 81; 89 public int JJTLAMBDEF = 82; 90 public int JJTSUBSCRIPTLIST = 83; 91 public int JJTELLIPSES = 84; 92 public int JJTSLICE = 85; 93 public int JJTCOLON = 86; 94 public int JJTCOMMA = 87; 95 public int JJTLIST_FOR = 88; 96 public int JJTCLASSDEF = 89; 97 public int JJTEXTRAARGVALUELIST = 90; 98 public int JJTEXTRAKEYWORDVALUELIST = 91; 99 public int JJTKEYWORD = 92; 100 public int JJTNUM = 93; 101 public int JJTCOMPLEX = 94; 102 public int JJTNAME = 95; 103 public int JJTSTRING = 96; 104 105 106 public String [] jjtNodeName = { 107 "single_input", 108 "file_input", 109 "eval_input", 110 "funcdef", 111 "void", 112 "ExtraArgList", 113 "ExtraKeywordList", 114 "defaultarg", 115 "tuple", 116 "aug_plus", 117 "aug_minus", 118 "aug_multiply", 119 "aug_divide", 120 "aug_floordivide", 121 "aug_modulo", 122 "aug_and", 123 "aug_or", 124 "aug_xor", 125 "aug_lshift", 126 "aug_rshift", 127 "aug_power", 128 "expr_stmt", 129 "printext_stmt", 130 "print_stmt", 131 "del_stmt", 132 "pass_stmt", 133 "break_stmt", 134 "continue_stmt", 135 "return_stmt", 136 "yield_stmt", 137 "raise_stmt", 138 "Import", 139 "ImportFrom", 140 "dotted_as_name", 141 "dotted_name", 142 "import_as_name", 143 "global_stmt", 144 "exec_stmt", 145 "assert_stmt", 146 "if_stmt", 147 "while_stmt", 148 "for_stmt", 149 "try_stmt", 150 "tryfinally_stmt", 151 "except_clause", 152 "suite", 153 "or_boolean", 154 "and_boolean", 155 "not_1op", 156 "comparision", 157 "less_cmp", 158 "greater_cmp", 159 "equal_cmp", 160 "greater_equal_cmp", 161 "less_equal_cmp", 162 "notequal_cmp", 163 "in_cmp", 164 "not_in_cmp", 165 "is_not_cmp", 166 "is_cmp", 167 "or_2op", 168 "xor_2op", 169 "and_2op", 170 "lshift_2op", 171 "rshift_2op", 172 "add_2op", 173 "sub_2op", 174 "mul_2op", 175 "div_2op", 176 "floordiv_2op", 177 "mod_2op", 178 "pos_1op", 179 "neg_1op", 180 "invert_1op", 181 "pow_2op", 182 "Call_Op", 183 "Index_Op", 184 "Dot_Op", 185 "list", 186 "dictionary", 187 "str_1op", 188 "strjoin", 189 "lambdef", 190 "subscriptlist", 191 "Ellipses", 192 "Slice", 193 "Colon", 194 "Comma", 195 "list_for", 196 "classdef", 197 "ExtraArgValueList", 198 "ExtraKeywordValueList", 199 "Keyword", 200 "Num", 201 "Complex", 202 "Name", 203 "String", 204 }; 205 } 206 | Popular Tags |