1 import org.python.core.*;
3 public class sre_constants extends java.lang.Object {
4 static String[] jpy$mainProperties = new String[] {"python.modules.builtin", "exceptions:org.python.core.exceptions"};
5 static String[] jpy$proxyProperties = new String[] {"python.modules.builtin", "exceptions:org.python.core.exceptions", "python.options.showJavaExceptions", "true"};
6 static String[] jpy$packages = new String[] {"java.net", null, "java.lang", null, "org.python.core", null, "java.io", null, "java.util.zip", null};
8 public static class _PyInner extends PyFunctionTable implements PyRunnable {
9 private static PyObject i$0;
10 private static PyObject i$1;
11 private static PyObject s$2;
12 private static PyObject s$3;
13 private static PyObject s$4;
14 private static PyObject s$5;
15 private static PyObject s$6;
16 private static PyObject s$7;
17 private static PyObject s$8;
18 private static PyObject s$9;
19 private static PyObject s$10;
20 private static PyObject s$11;
21 private static PyObject s$12;
22 private static PyObject s$13;
23 private static PyObject s$14;
24 private static PyObject s$15;
25 private static PyObject s$16;
26 private static PyObject s$17;
27 private static PyObject s$18;
28 private static PyObject s$19;
29 private static PyObject s$20;
30 private static PyObject s$21;
31 private static PyObject s$22;
32 private static PyObject s$23;
33 private static PyObject s$24;
34 private static PyObject s$25;
35 private static PyObject s$26;
36 private static PyObject s$27;
37 private static PyObject s$28;
38 private static PyObject s$29;
39 private static PyObject s$30;
40 private static PyObject s$31;
41 private static PyObject s$32;
42 private static PyObject s$33;
43 private static PyObject s$34;
44 private static PyObject s$35;
45 private static PyObject s$36;
46 private static PyObject s$37;
47 private static PyObject s$38;
48 private static PyObject s$39;
49 private static PyObject s$40;
50 private static PyObject s$41;
51 private static PyObject s$42;
52 private static PyObject s$43;
53 private static PyObject s$44;
54 private static PyObject s$45;
55 private static PyObject s$46;
56 private static PyObject s$47;
57 private static PyObject s$48;
58 private static PyObject s$49;
59 private static PyObject s$50;
60 private static PyObject s$51;
61 private static PyObject s$52;
62 private static PyObject s$53;
63 private static PyObject s$54;
64 private static PyObject s$55;
65 private static PyObject s$56;
66 private static PyObject s$57;
67 private static PyObject s$58;
68 private static PyObject s$59;
69 private static PyObject s$60;
70 private static PyObject s$61;
71 private static PyObject s$62;
72 private static PyObject i$63;
73 private static PyObject i$64;
74 private static PyObject i$65;
75 private static PyObject i$66;
76 private static PyObject i$67;
77 private static PyObject i$68;
78 private static PyObject i$69;
79 private static PyObject i$70;
80 private static PyObject i$71;
81 private static PyObject s$72;
82 private static PyObject s$73;
83 private static PyObject s$74;
84 private static PyObject s$75;
85 private static PyObject s$76;
86 private static PyObject s$77;
87 private static PyObject s$78;
88 private static PyObject s$79;
89 private static PyObject s$80;
90 private static PyObject s$81;
91 private static PyObject s$82;
92 private static PyObject s$83;
93 private static PyObject s$84;
94 private static PyObject s$85;
95 private static PyObject s$86;
96 private static PyObject s$87;
97 private static PyObject s$88;
98 private static PyObject s$89;
99 private static PyObject s$90;
100 private static PyObject s$91;
101 private static PyFunctionTable funcTable;
102 private static PyCode c$0_error;
103 private static PyCode c$1_makedict;
104 private static PyCode c$2_lambda;
105 private static PyCode c$3_dump;
106 private static PyCode c$4_main;
107 private static void initConstants() {
108 i$0 = Py.newInteger(20010320);
109 i$1 = Py.newInteger(65535);
110 s$2 = Py.newString("failure");
111 s$3 = Py.newString("success");
112 s$4 = Py.newString("any");
113 s$5 = Py.newString("any_all");
114 s$6 = Py.newString("assert");
115 s$7 = Py.newString("assert_not");
116 s$8 = Py.newString("at");
117 s$9 = Py.newString("branch");
118 s$10 = Py.newString("call");
119 s$11 = Py.newString("category");
120 s$12 = Py.newString("charset");
121 s$13 = Py.newString("groupref");
122 s$14 = Py.newString("groupref_ignore");
123 s$15 = Py.newString("in");
124 s$16 = Py.newString("in_ignore");
125 s$17 = Py.newString("info");
126 s$18 = Py.newString("jump");
127 s$19 = Py.newString("literal");
128 s$20 = Py.newString("literal_ignore");
129 s$21 = Py.newString("mark");
130 s$22 = Py.newString("max_repeat");
131 s$23 = Py.newString("max_until");
132 s$24 = Py.newString("min_repeat");
133 s$25 = Py.newString("min_until");
134 s$26 = Py.newString("negate");
135 s$27 = Py.newString("not_literal");
136 s$28 = Py.newString("not_literal_ignore");
137 s$29 = Py.newString("range");
138 s$30 = Py.newString("repeat");
139 s$31 = Py.newString("repeat_one");
140 s$32 = Py.newString("subpattern");
141 s$33 = Py.newString("at_beginning");
142 s$34 = Py.newString("at_beginning_line");
143 s$35 = Py.newString("at_beginning_string");
144 s$36 = Py.newString("at_boundary");
145 s$37 = Py.newString("at_non_boundary");
146 s$38 = Py.newString("at_end");
147 s$39 = Py.newString("at_end_line");
148 s$40 = Py.newString("at_end_string");
149 s$41 = Py.newString("at_loc_boundary");
150 s$42 = Py.newString("at_loc_non_boundary");
151 s$43 = Py.newString("at_uni_boundary");
152 s$44 = Py.newString("at_uni_non_boundary");
153 s$45 = Py.newString("category_digit");
154 s$46 = Py.newString("category_not_digit");
155 s$47 = Py.newString("category_space");
156 s$48 = Py.newString("category_not_space");
157 s$49 = Py.newString("category_word");
158 s$50 = Py.newString("category_not_word");
159 s$51 = Py.newString("category_linebreak");
160 s$52 = Py.newString("category_not_linebreak");
161 s$53 = Py.newString("category_loc_word");
162 s$54 = Py.newString("category_loc_not_word");
163 s$55 = Py.newString("category_uni_digit");
164 s$56 = Py.newString("category_uni_not_digit");
165 s$57 = Py.newString("category_uni_space");
166 s$58 = Py.newString("category_uni_not_space");
167 s$59 = Py.newString("category_uni_word");
168 s$60 = Py.newString("category_uni_not_word");
169 s$61 = Py.newString("category_uni_linebreak");
170 s$62 = Py.newString("category_uni_not_linebreak");
171 i$63 = Py.newInteger(0);
172 i$64 = Py.newInteger(1);
173 i$65 = Py.newInteger(2);
174 i$66 = Py.newInteger(4);
175 i$67 = Py.newInteger(8);
176 i$68 = Py.newInteger(16);
177 i$69 = Py.newInteger(32);
178 i$70 = Py.newInteger(64);
179 i$71 = Py.newInteger(128);
180 s$72 = Py.newString("__main__");
181 s$73 = Py.newString("#define %s_%s %s\012");
182 s$74 = Py.newString("sre_constants.h");
183 s$75 = Py.newString("w");
184 s$76 = Py.newString("/*\012 * Secret Labs' Regular Expression Engine\012 *\012 * regular expression matching engine\012 *\012 * NOTE: This file is generated by sre_constants.py. If you need\012 * to change anything in here, edit sre_constants.py and run it.\012 *\012 * Copyright (c) 1997-2001 by Secret Labs AB. All rights reserved.\012 *\012 * See the _sre.c file for information on usage and redistribution.\012 */\012\012");
185 s$77 = Py.newString("#define SRE_MAGIC %d\012");
186 s$78 = Py.newString("SRE_OP");
187 s$79 = Py.newString("SRE");
188 s$80 = Py.newString("#define SRE_FLAG_TEMPLATE %d\012");
189 s$81 = Py.newString("#define SRE_FLAG_IGNORECASE %d\012");
190 s$82 = Py.newString("#define SRE_FLAG_LOCALE %d\012");
191 s$83 = Py.newString("#define SRE_FLAG_MULTILINE %d\012");
192 s$84 = Py.newString("#define SRE_FLAG_DOTALL %d\012");
193 s$85 = Py.newString("#define SRE_FLAG_UNICODE %d\012");
194 s$86 = Py.newString("#define SRE_FLAG_VERBOSE %d\012");
195 s$87 = Py.newString("#define SRE_INFO_PREFIX %d\012");
196 s$88 = Py.newString("#define SRE_INFO_LITERAL %d\012");
197 s$89 = Py.newString("#define SRE_INFO_CHARSET %d\012");
198 s$90 = Py.newString("done");
199 s$91 = Py.newString("/usr/share/jython/Lib-cpython/sre_constants.py");
200 funcTable = new _PyInner();
201 c$0_error = Py.newCode(0, new String[] {}, "/usr/share/jython/Lib-cpython/sre_constants.py", "error", false, false, funcTable, 0, null, null, 0, 0);
202 c$1_makedict = Py.newCode(1, new String[] {"list", "i", "item", "d"}, "/usr/share/jython/Lib-cpython/sre_constants.py", "makedict", false, false, funcTable, 1, null, null, 0, 1);
203 c$2_lambda = Py.newCode(2, new String[] {"a", "b"}, "/usr/share/jython/Lib-cpython/sre_constants.py", "<lambda>", false, false, funcTable, 2, null, null, 0, 1);
204 c$3_dump = Py.newCode(3, new String[] {"f", "d", "prefix", "v", "k", "items"}, "/usr/share/jython/Lib-cpython/sre_constants.py", "dump", false, false, funcTable, 3, null, null, 0, 1);
205 c$4_main = Py.newCode(0, new String[] {}, "/usr/share/jython/Lib-cpython/sre_constants.py", "main", false, false, funcTable, 4, null, null, 0, 0);
209 public PyCode getMain() {
210 if (c$4_main == null) _PyInner.initConstants();
214 public PyObject call_function(int index, PyFrame frame) {
217 return _PyInner.error$1(frame);
219 return _PyInner.makedict$2(frame);
221 return _PyInner.lambda$3(frame);
223 return _PyInner.dump$4(frame);
225 return _PyInner.main$5(frame);
231 private static PyObject error$1(PyFrame frame) {
233 return frame.getf_locals();
236 private static PyObject makedict$2(PyFrame frame) {
237 // Temporary Variables
239 PyObject t$0$PyObject, t$1$PyObject;
242 frame.setlocal(3, new PyDictionary(new PyObject[] {}));
243 frame.setlocal(1, i$63);
245 t$1$PyObject = frame.getlocal(0);
246 while ((t$0$PyObject = t$1$PyObject.__finditem__(t$0$int++)) != null) {
247 frame.setlocal(2, t$0$PyObject);
248 frame.getlocal(3).__setitem__(frame.getlocal(2), frame.getlocal(1));
249 frame.setlocal(1, frame.getlocal(1)._add(i$64));
251 return frame.getlocal(3);
254 private static PyObject lambda$3(PyFrame frame) {
255 return frame.getglobal("cmp").__call__(frame.getlocal(0).__getitem__(i$64), frame.getlocal(1).__getitem__(i$64));
258 private static PyObject dump$4(PyFrame frame) {
259 // Temporary Variables
261 PyObject[] t$0$PyObject__;
262 PyObject t$0$PyObject, t$1$PyObject;
265 frame.setlocal(5, frame.getlocal(1).invoke("items"));
266 frame.getlocal(5).invoke("sort", new PyFunction(frame.f_globals, new PyObject[] {}, c$2_lambda));
268 t$1$PyObject = frame.getlocal(5);
269 while ((t$0$PyObject = t$1$PyObject.__finditem__(t$0$int++)) != null) {
270 t$0$PyObject__ = org.python.core.Py.unpackSequence(t$0$PyObject, 2);
271 frame.setlocal(4, t$0$PyObject__[0]);
272 frame.setlocal(3, t$0$PyObject__[1]);
273 frame.getlocal(0).invoke("write", s$73._mod(new PyTuple(new PyObject[] {frame.getlocal(2), frame.getglobal("string").__getattr__("upper").__call__(frame.getlocal(4)), frame.getlocal(3)})));
278 private static PyObject main$5(PyFrame frame) {
279 frame.setglobal("__file__", s$91);
281 frame.setlocal("MAGIC", i$0);
282 frame.setlocal("MAXREPEAT", i$1);
283 frame.setlocal("error", Py.makeClass("error", new PyObject[] {frame.getname("Exception")}, c$0_error, null));
284 frame.setlocal("FAILURE", s$2);
285 frame.setlocal("SUCCESS", s$3);
286 frame.setlocal("ANY", s$4);
287 frame.setlocal("ANY_ALL", s$5);
288 frame.setlocal("ASSERT", s$6);
289 frame.setlocal("ASSERT_NOT", s$7);
290 frame.setlocal("AT", s$8);
291 frame.setlocal("BRANCH", s$9);
292 frame.setlocal("CALL", s$10);
293 frame.setlocal("CATEGORY", s$11);
294 frame.setlocal("CHARSET", s$12);
295 frame.setlocal("GROUPREF", s$13);
296 frame.setlocal("GROUPREF_IGNORE", s$14);
297 frame.setlocal("IN", s$15);
298 frame.setlocal("IN_IGNORE", s$16);
299 frame.setlocal("INFO", s$17);
300 frame.setlocal("JUMP", s$18);
301 frame.setlocal("LITERAL", s$19);
302 frame.setlocal("LITERAL_IGNORE", s$20);
303 frame.setlocal("MARK", s$21);
304 frame.setlocal("MAX_REPEAT", s$22);
305 frame.setlocal("MAX_UNTIL", s$23);
306 frame.setlocal("MIN_REPEAT", s$24);
307 frame.setlocal("MIN_UNTIL", s$25);
308 frame.setlocal("NEGATE", s$26);
309 frame.setlocal("NOT_LITERAL", s$27);
310 frame.setlocal("NOT_LITERAL_IGNORE", s$28);
311 frame.setlocal("RANGE", s$29);
312 frame.setlocal("REPEAT", s$30);
313 frame.setlocal("REPEAT_ONE", s$31);
314 frame.setlocal("SUBPATTERN", s$32);
315 frame.setlocal("AT_BEGINNING", s$33);
316 frame.setlocal("AT_BEGINNING_LINE", s$34);
317 frame.setlocal("AT_BEGINNING_STRING", s$35);
318 frame.setlocal("AT_BOUNDARY", s$36);
319 frame.setlocal("AT_NON_BOUNDARY", s$37);
320 frame.setlocal("AT_END", s$38);
321 frame.setlocal("AT_END_LINE", s$39);
322 frame.setlocal("AT_END_STRING", s$40);
323 frame.setlocal("AT_LOC_BOUNDARY", s$41);
324 frame.setlocal("AT_LOC_NON_BOUNDARY", s$42);
325 frame.setlocal("AT_UNI_BOUNDARY", s$43);
326 frame.setlocal("AT_UNI_NON_BOUNDARY", s$44);
327 frame.setlocal("CATEGORY_DIGIT", s$45);
328 frame.setlocal("CATEGORY_NOT_DIGIT", s$46);
329 frame.setlocal("CATEGORY_SPACE", s$47);
330 frame.setlocal("CATEGORY_NOT_SPACE", s$48);
331 frame.setlocal("CATEGORY_WORD", s$49);
332 frame.setlocal("CATEGORY_NOT_WORD", s$50);
333 frame.setlocal("CATEGORY_LINEBREAK", s$51);
334 frame.setlocal("CATEGORY_NOT_LINEBREAK", s$52);
335 frame.setlocal("CATEGORY_LOC_WORD", s$53);
336 frame.setlocal("CATEGORY_LOC_NOT_WORD", s$54);
337 frame.setlocal("CATEGORY_UNI_DIGIT", s$55);
338 frame.setlocal("CATEGORY_UNI_NOT_DIGIT", s$56);
339 frame.setlocal("CATEGORY_UNI_SPACE", s$57);
340 frame.setlocal("CATEGORY_UNI_NOT_SPACE", s$58);
341 frame.setlocal("CATEGORY_UNI_WORD", s$59);
342 frame.setlocal("CATEGORY_UNI_NOT_WORD", s$60);
343 frame.setlocal("CATEGORY_UNI_LINEBREAK", s$61);
344 frame.setlocal("CATEGORY_UNI_NOT_LINEBREAK", s$62);
345 frame.setlocal("OPCODES", new PyList(new PyObject[] {frame.getname("FAILURE"), frame.getname("SUCCESS"), frame.getname("ANY"), frame.getname("ANY_ALL"), frame.getname("ASSERT"), frame.getname("ASSERT_NOT"), frame.getname("AT"), frame.getname("BRANCH"), frame.getname("CALL"), frame.getname("CATEGORY"), frame.getname("CHARSET"), frame.getname("GROUPREF"), frame.getname("GROUPREF_IGNORE"), frame.getname("IN"), frame.getname("IN_IGNORE"), frame.getname("INFO"), frame.getname("JUMP"), frame.getname("LITERAL"), frame.getname("LITERAL_IGNORE"), frame.getname("MARK"), frame.getname("MAX_UNTIL"), frame.getname("MIN_UNTIL"), frame.getname("NOT_LITERAL"), frame.getname("NOT_LITERAL_IGNORE"), frame.getname("NEGATE"), frame.getname("RANGE"), frame.getname("REPEAT"), frame.getname("REPEAT_ONE"), frame.getname("SUBPATTERN")}));
346 frame.setlocal("ATCODES", new PyList(new PyObject[] {frame.getname("AT_BEGINNING"), frame.getname("AT_BEGINNING_LINE"), frame.getname("AT_BEGINNING_STRING"), frame.getname("AT_BOUNDARY"), frame.getname("AT_NON_BOUNDARY"), frame.getname("AT_END"), frame.getname("AT_END_LINE"), frame.getname("AT_END_STRING"), frame.getname("AT_LOC_BOUNDARY"), frame.getname("AT_LOC_NON_BOUNDARY"), frame.getname("AT_UNI_BOUNDARY"), frame.getname("AT_UNI_NON_BOUNDARY")}));
347 frame.setlocal("CHCODES", new PyList(new PyObject[] {frame.getname("CATEGORY_DIGIT"), frame.getname("CATEGORY_NOT_DIGIT"), frame.getname("CATEGORY_SPACE"), frame.getname("CATEGORY_NOT_SPACE"), frame.getname("CATEGORY_WORD"), frame.getname("CATEGORY_NOT_WORD"), frame.getname("CATEGORY_LINEBREAK"), frame.getname("CATEGORY_NOT_LINEBREAK"), frame.getname("CATEGORY_LOC_WORD"), frame.getname("CATEGORY_LOC_NOT_WORD"), frame.getname("CATEGORY_UNI_DIGIT"), frame.getname("CATEGORY_UNI_NOT_DIGIT"), frame.getname("CATEGORY_UNI_SPACE"), frame.getname("CATEGORY_UNI_NOT_SPACE"), frame.getname("CATEGORY_UNI_WORD"), frame.getname("CATEGORY_UNI_NOT_WORD"), frame.getname("CATEGORY_UNI_LINEBREAK"), frame.getname("CATEGORY_UNI_NOT_LINEBREAK")}));
348 frame.setlocal("makedict", new PyFunction(frame.f_globals, new PyObject[] {}, c$1_makedict));
349 frame.setlocal("OPCODES", frame.getname("makedict").__call__(frame.getname("OPCODES")));
350 frame.setlocal("ATCODES", frame.getname("makedict").__call__(frame.getname("ATCODES")));
351 frame.setlocal("CHCODES", frame.getname("makedict").__call__(frame.getname("CHCODES")));
352 frame.setlocal("OP_IGNORE", new PyDictionary(new PyObject[] {frame.getname("GROUPREF"), frame.getname("GROUPREF_IGNORE"), frame.getname("IN"), frame.getname("IN_IGNORE"), frame.getname("LITERAL"), frame.getname("LITERAL_IGNORE"), frame.getname("NOT_LITERAL"), frame.getname("NOT_LITERAL_IGNORE")}));
353 frame.setlocal("AT_MULTILINE", new PyDictionary(new PyObject[] {frame.getname("AT_BEGINNING"), frame.getname("AT_BEGINNING_LINE"), frame.getname("AT_END"), frame.getname("AT_END_LINE")}));
354 frame.setlocal("AT_LOCALE", new PyDictionary(new PyObject[] {frame.getname("AT_BOUNDARY"), frame.getname("AT_LOC_BOUNDARY"), frame.getname("AT_NON_BOUNDARY"), frame.getname("AT_LOC_NON_BOUNDARY")}));
355 frame.setlocal("AT_UNICODE", new PyDictionary(new PyObject[] {frame.getname("AT_BOUNDARY"), frame.getname("AT_UNI_BOUNDARY"), frame.getname("AT_NON_BOUNDARY"), frame.getname("AT_UNI_NON_BOUNDARY")}));
356 frame.setlocal("CH_LOCALE", new PyDictionary(new PyObject[] {frame.getname("CATEGORY_DIGIT"), frame.getname("CATEGORY_DIGIT"), frame.getname("CATEGORY_NOT_DIGIT"), frame.getname("CATEGORY_NOT_DIGIT"), frame.getname("CATEGORY_SPACE"), frame.getname("CATEGORY_SPACE"), frame.getname("CATEGORY_NOT_SPACE"), frame.getname("CATEGORY_NOT_SPACE"), frame.getname("CATEGORY_WORD"), frame.getname("CATEGORY_LOC_WORD"), frame.getname("CATEGORY_NOT_WORD"), frame.getname("CATEGORY_LOC_NOT_WORD"), frame.getname("CATEGORY_LINEBREAK"), frame.getname("CATEGORY_LINEBREAK"), frame.getname("CATEGORY_NOT_LINEBREAK"), frame.getname("CATEGORY_NOT_LINEBREAK")}));
357 frame.setlocal("CH_UNICODE", new PyDictionary(new PyObject[] {frame.getname("CATEGORY_DIGIT"), frame.getname("CATEGORY_UNI_DIGIT"), frame.getname("CATEGORY_NOT_DIGIT"), frame.getname("CATEGORY_UNI_NOT_DIGIT"), frame.getname("CATEGORY_SPACE"), frame.getname("CATEGORY_UNI_SPACE"), frame.getname("CATEGORY_NOT_SPACE"), frame.getname("CATEGORY_UNI_NOT_SPACE"), frame.getname("CATEGORY_WORD"), frame.getname("CATEGORY_UNI_WORD"), frame.getname("CATEGORY_NOT_WORD"), frame.getname("CATEGORY_UNI_NOT_WORD"), frame.getname("CATEGORY_LINEBREAK"), frame.getname("CATEGORY_UNI_LINEBREAK"), frame.getname("CATEGORY_NOT_LINEBREAK"), frame.getname("CATEGORY_UNI_NOT_LINEBREAK")}));
358 frame.setlocal("SRE_FLAG_TEMPLATE", i$64);
359 frame.setlocal("SRE_FLAG_IGNORECASE", i$65);
360 frame.setlocal("SRE_FLAG_LOCALE", i$66);
361 frame.setlocal("SRE_FLAG_MULTILINE", i$67);
362 frame.setlocal("SRE_FLAG_DOTALL", i$68);
363 frame.setlocal("SRE_FLAG_UNICODE", i$69);
364 frame.setlocal("SRE_FLAG_VERBOSE", i$70);
365 frame.setlocal("SRE_FLAG_DEBUG", i$71);
366 frame.setlocal("SRE_INFO_PREFIX", i$64);
367 frame.setlocal("SRE_INFO_LITERAL", i$65);
368 frame.setlocal("SRE_INFO_CHARSET", i$66);
369 if (frame.getname("__name__")._eq(s$72).__nonzero__()) {
370 frame.setlocal("string", org.python.core.imp.importOne("string", frame));
371 frame.setlocal("dump", new PyFunction(frame.f_globals, new PyObject[] {}, c$3_dump));
372 frame.setlocal("f", frame.getname("open").__call__(s$74, s$75));
373 frame.getname("f").invoke("write", s$76);
374 frame.getname("f").invoke("write", s$77._mod(frame.getname("MAGIC")));
375 frame.getname("dump").__call__(frame.getname("f"), frame.getname("OPCODES"), s$78);
376 frame.getname("dump").__call__(frame.getname("f"), frame.getname("ATCODES"), s$79);
377 frame.getname("dump").__call__(frame.getname("f"), frame.getname("CHCODES"), s$79);
378 frame.getname("f").invoke("write", s$80._mod(frame.getname("SRE_FLAG_TEMPLATE")));
379 frame.getname("f").invoke("write", s$81._mod(frame.getname("SRE_FLAG_IGNORECASE")));
380 frame.getname("f").invoke("write", s$82._mod(frame.getname("SRE_FLAG_LOCALE")));
381 frame.getname("f").invoke("write", s$83._mod(frame.getname("SRE_FLAG_MULTILINE")));
382 frame.getname("f").invoke("write", s$84._mod(frame.getname("SRE_FLAG_DOTALL")));
383 frame.getname("f").invoke("write", s$85._mod(frame.getname("SRE_FLAG_UNICODE")));
384 frame.getname("f").invoke("write", s$86._mod(frame.getname("SRE_FLAG_VERBOSE")));
385 frame.getname("f").invoke("write", s$87._mod(frame.getname("SRE_INFO_PREFIX")));
386 frame.getname("f").invoke("write", s$88._mod(frame.getname("SRE_INFO_LITERAL")));
387 frame.getname("f").invoke("write", s$89._mod(frame.getname("SRE_INFO_CHARSET")));
388 frame.getname("f").invoke("close");
395 public static void moduleDictInit(PyObject dict) {
396 dict.__setitem__("__name__", new PyString("sre_constants"));
397 Py.runCode(new _PyInner().getMain(), dict, dict);
400 public static void main(String[] args) throws java.lang.Exception {
401 String[] newargs = new String[args.length+1];
402 newargs[0] = "sre_constants";
403 System.arraycopy(args, 0, newargs, 1, args.length);
404 Py.runMain(sre_constants._PyInner.class, newargs, sre_constants.jpy$packages, sre_constants.jpy$mainProperties, "", new String[] {"string", "random", "util", "traceback", "sre_compile", "atexit", "sre", "sre_constants", "StringIO", "javaos", "socket", "yapm", "calendar", "repr", "copy_reg", "SocketServer", "server", "re", "linecache", "javapath", "UserDict", "copy", "threading", "stat", "PathVFS", "sre_parse"});