| Page 36 of 38 Prev | Index | Next |
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3)
// Source File Name: /home/bzimmer/development/ziclix/jython-presentation/ex_runtime.py
import org.python.core.*;
public class e.PyObject extends PyFunctionTable
implements PyRunnable
{
public PyObject f$0(PyFrame pyframe)
{
pyframe.setglobal("__file__", _0);
pyframe.setline(1);
PyObject pyobject = _1._add(_1);
pyframe.setlocal("a", pyobject);
pyobject = null;
pyframe.f_lasti = -1;
return Py.None;
}
public PyCode getMain()
{
return f$0;
}
public PyObject call_function(int i, PyFrame pyframe)
{
switch(i)
{
case 0: // '\0'
return f$0(pyframe);
}
return null;
}
static final ng self;
static final PyString _0 = Py.newString("/home/bzimmer/development/ziclix/jython-presentation/ex_runtime.py");
static final PyInteger _1 = Py.newInteger(1);
static final PyCode f$0;
static
{
self = new <init>();
String as[];
f$0 = Py.newCode(0, as = new String[0], "/home/bzimmer/development/ziclix/jython-presentation/ex_runtime.py", "?", 0, false, false, self, 0, null, null, 0, 0);
}
public e.PyObject()
{
}
}
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) disassembler
// Source File Name: /home/bzimmer/development/ziclix/jython-presentation/ex_runtime.py
import org.python.core.*;
public class e.PyObject extends PyFunctionTable
implements PyRunnable
{
public PyObject f$0(PyFrame pyframe)
{
// 0 0:aload_1
// 1 1:ldc1 #11 <String "__file__">
// 2 3:getstatic #17 <Field PyString _0>
// 3 6:invokevirtual #9 <Method void PyFrame.setglobal(String, PyObject)>
// 4 9:aload_1
// 5 10:iconst_1
// 6 11:invokevirtual #22 <Method void PyFrame.setline(int)>
// 7 14:getstatic #26 <Field PyInteger _1>
// 8 17:getstatic #26 <Field PyInteger _1>
// 9 20:invokevirtual #32 <Method PyObject PyObject._add(PyObject)>
// 10 23:astore_2
// 11 24:aload_1
// 12 25:ldc1 #34 <String "a">
// 13 27:aload_2
// 14 28:invokevirtual #37 <Method void PyFrame.setlocal(String, PyObject)>
// 15 31:aconst_null
// 16 32:astore_2
// 17 33:aload_1
// 18 34:iconst_m1
// 19 35:putfield #41 <Field int PyFrame.f_lasti>
// 20 38:getstatic #47 <Field PyObject Py.None>
// 21 41:areturn
}
public e.Py.None()
{
// 0 0:aload_0
// 1 1:invokespecial #53 <Method void PyFunctionTable()>
// 2 4:return
}
public PyCode getMain()
{
// 0 0:getstatic #58 <Field PyCode f$0>
// 1 3:areturn
}
static
{
// 0 0:new #13 <Class ex_runtime$py>
// 1 3:dup
// 2 4:invokespecial #62 <Method void ex_runtime$py()>
// 3 7:putstatic #64 <Field ex_runtime$py self>
// 4 10:ldc1 #66 <String "/home/bzimmer/development/ziclix/jython-presentation/ex_runtime.py">
// 5 12:invokestatic #70 <Method PyString Py.newString(String)>
// 6 15:putstatic #17 <Field PyString _0>
// 7 18:iconst_1
// 8 19:invokestatic #74 <Method PyInteger Py.newInteger(int)>
// 9 22:putstatic #26 <Field PyInteger _1>
// 10 25:iconst_0
// 11 26:iconst_0
// 12 27:anewarray String[]
// 13 30:astore_0
// 14 31:aload_0
// 15 32:ldc1 #66 <String "/home/bzimmer/development/ziclix/jython-presentation/ex_runtime.py">
// 16 34:ldc1 #78 <String "?">
// 17 36:iconst_0
// 18 37:iconst_0
// 19 38:iconst_0
// 20 39:getstatic #64 <Field ex_runtime$py self>
// 21 42:iconst_0
// 22 43:aconst_null
// 23 44:aconst_null
// 24 45:iconst_0
// 25 46:iconst_0
// 26 47:invokestatic #82 <Method PyCode Py.newCode(int, String[], String, String, int, boolean, boolean, PyFunctionTable, int, String[], String[], int, int)>
// 27 50:putstatic #58 <Field PyCode f$0>
// 28 53:return
}
public PyObject call_function(int i, PyFrame pyframe)
{
// 0 0:iload_1
// 1 1:tableswitch 0 0: default 26
// 0 20
// 2 20:aload_0
// 3 21:aload_2
// 4 22:invokevirtual #86 <Method PyObject f$0(PyFrame)>
// 5 25:areturn
// 6 26:aconst_null
// 7 27:areturn
}
static final e.PyFrame self;
static final PyString _0;
static final PyInteger _1;
static final PyCode f$0;
}
| Page 36 of 38 Prev | Index | Next |