org.python.compiler
Class Code
java.lang.Object
org.python.compiler.Attribute
org.python.compiler.Code
- public class Code
- extends Attribute
Method Summary |
void |
aaload()
|
void |
aastore()
|
void |
aconst_null()
|
void |
addExceptionHandler(org.python.compiler.Label begin,
org.python.compiler.Label end,
org.python.compiler.Label handler,
int exc)
|
void |
addLabel(org.python.compiler.Label l)
|
void |
aload(int i)
|
void |
anewarray(int c)
|
void |
areturn()
|
void |
arraylength()
|
void |
astore(int i)
|
void |
athrow()
|
void |
branch(int b,
org.python.compiler.Label label)
|
void |
checkcast(int c)
|
void |
dload(int i)
|
void |
dreturn()
|
void |
dup_x1()
|
void |
dup()
|
void |
fixLabels(byte[] bytes)
|
void |
fload(int i)
|
void |
freeLocal(int l)
|
void |
freturn()
|
void |
getfield(int c)
|
void |
getfield(String c,
String name,
String type)
|
org.python.compiler.Label |
getLabel()
|
int |
getLocal()
|
void |
getstatic(int c)
|
void |
getstatic(String c,
String name,
String type)
|
void |
goto_(org.python.compiler.Label label)
|
void |
iconst(int i)
|
void |
if_icmpne(org.python.compiler.Label label)
|
void |
ifeq(org.python.compiler.Label label)
|
void |
ifne(org.python.compiler.Label label)
|
void |
ifnonnull(org.python.compiler.Label label)
|
void |
ifnull(org.python.compiler.Label label)
|
void |
iinc(int i)
|
void |
iinc(int i,
int increment)
|
void |
iload(int i)
|
void |
invokespecial(int c)
|
void |
invokestatic(int c)
|
void |
invokevirtual(int c)
|
void |
invokevirtual(String c,
String name,
String type)
|
void |
ireturn()
|
void |
istore(int i)
|
void |
jsr(org.python.compiler.Label label)
|
void |
ldc(int c)
|
void |
ldc(String s)
|
void |
lload(int i)
|
void |
lreturn()
|
void |
new_(int c)
|
void |
pop()
|
void |
print(String s)
|
void |
push(int i)
|
void |
putfield(int c)
|
void |
putfield(String c,
String name,
String type)
|
void |
putstatic(int c)
|
void |
putstatic(String c,
String name,
String type)
|
void |
ret(int index)
|
void |
return_()
|
void |
setline(int line)
|
int |
size()
|
void |
swap()
|
void |
tableswitch(org.python.compiler.Label def,
int low,
org.python.compiler.Label[] labels)
|
void |
write(DataOutputStream stream)
|
stack
public int stack
code
public DataOutputStream code
Code
public Code(String sig,
ConstantPool pool,
boolean isStatic)
getLabel
public org.python.compiler.Label getLabel()
addLabel
public void addLabel(org.python.compiler.Label l)
size
public int size()
getLocal
public int getLocal()
freeLocal
public void freeLocal(int l)
addExceptionHandler
public void addExceptionHandler(org.python.compiler.Label begin,
org.python.compiler.Label end,
org.python.compiler.Label handler,
int exc)
fixLabels
public void fixLabels(byte[] bytes)
throws IOException
- Throws:
IOException
write
public void write(DataOutputStream stream)
throws IOException
- Specified by:
write
in class Attribute
- Throws:
IOException
push
public void push(int i)
branch
public void branch(int b,
org.python.compiler.Label label)
throws IOException
- Throws:
IOException
print
public void print(String s)
throws IOException
- Throws:
IOException
aaload
public void aaload()
throws IOException
- Throws:
IOException
aastore
public void aastore()
throws IOException
- Throws:
IOException
aconst_null
public void aconst_null()
throws IOException
- Throws:
IOException
aload
public void aload(int i)
throws IOException
- Throws:
IOException
anewarray
public void anewarray(int c)
throws IOException
- Throws:
IOException
areturn
public void areturn()
throws IOException
- Throws:
IOException
arraylength
public void arraylength()
throws IOException
- Throws:
IOException
astore
public void astore(int i)
throws IOException
- Throws:
IOException
athrow
public void athrow()
throws IOException
- Throws:
IOException
checkcast
public void checkcast(int c)
throws IOException
- Throws:
IOException
dload
public void dload(int i)
throws IOException
- Throws:
IOException
dreturn
public void dreturn()
throws IOException
- Throws:
IOException
dup
public void dup()
throws IOException
- Throws:
IOException
dup_x1
public void dup_x1()
throws IOException
- Throws:
IOException
fload
public void fload(int i)
throws IOException
- Throws:
IOException
freturn
public void freturn()
throws IOException
- Throws:
IOException
getfield
public void getfield(int c)
throws IOException
- Throws:
IOException
getfield
public void getfield(String c,
String name,
String type)
throws IOException
- Throws:
IOException
getstatic
public void getstatic(int c)
throws IOException
- Throws:
IOException
getstatic
public void getstatic(String c,
String name,
String type)
throws IOException
- Throws:
IOException
goto_
public void goto_(org.python.compiler.Label label)
throws IOException
- Throws:
IOException
iconst
public void iconst(int i)
throws IOException
- Throws:
IOException
if_icmpne
public void if_icmpne(org.python.compiler.Label label)
throws IOException
- Throws:
IOException
ifeq
public void ifeq(org.python.compiler.Label label)
throws IOException
- Throws:
IOException
ifne
public void ifne(org.python.compiler.Label label)
throws IOException
- Throws:
IOException
ifnonnull
public void ifnonnull(org.python.compiler.Label label)
throws IOException
- Throws:
IOException
ifnull
public void ifnull(org.python.compiler.Label label)
throws IOException
- Throws:
IOException
iinc
public void iinc(int i,
int increment)
throws IOException
- Throws:
IOException
iinc
public void iinc(int i)
throws IOException
- Throws:
IOException
iload
public void iload(int i)
throws IOException
- Throws:
IOException
invokespecial
public void invokespecial(int c)
throws IOException
- Throws:
IOException
invokestatic
public void invokestatic(int c)
throws IOException
- Throws:
IOException
invokevirtual
public void invokevirtual(int c)
throws IOException
- Throws:
IOException
invokevirtual
public void invokevirtual(String c,
String name,
String type)
throws IOException
- Throws:
IOException
ireturn
public void ireturn()
throws IOException
- Throws:
IOException
istore
public void istore(int i)
throws IOException
- Throws:
IOException
jsr
public void jsr(org.python.compiler.Label label)
throws IOException
- Throws:
IOException
ldc
public void ldc(int c)
throws IOException
- Throws:
IOException
ldc
public void ldc(String s)
throws IOException
- Throws:
IOException
lload
public void lload(int i)
throws IOException
- Throws:
IOException
lreturn
public void lreturn()
throws IOException
- Throws:
IOException
new_
public void new_(int c)
throws IOException
- Throws:
IOException
pop
public void pop()
throws IOException
- Throws:
IOException
putfield
public void putfield(int c)
throws IOException
- Throws:
IOException
putfield
public void putfield(String c,
String name,
String type)
throws IOException
- Throws:
IOException
putstatic
public void putstatic(int c)
throws IOException
- Throws:
IOException
putstatic
public void putstatic(String c,
String name,
String type)
throws IOException
- Throws:
IOException
return_
public void return_()
throws IOException
- Throws:
IOException
ret
public void ret(int index)
throws IOException
- Throws:
IOException
swap
public void swap()
throws IOException
- Throws:
IOException
tableswitch
public void tableswitch(org.python.compiler.Label def,
int low,
org.python.compiler.Label[] labels)
throws IOException
- Throws:
IOException
setline
public void setline(int line)
throws IOException
- Throws:
IOException