AST
class CodeGeneration

General Info

Type Hierarchy:
java.lang.Object
  extended by AST.CodeGeneration

Description

Member Filters

API level:

Aspect:

Constructors

public CodeGeneration(ConstantPool constantPool)
public CodeGeneration(ConstantPool constantPool,
                      boolean wideGoto)

Methods

public void clearCodeGeneration()
public boolean numberFormatError()
public int variableScopeLabel()
public void addVariableScopeLabel(int label)
public void addLocalVariableEntryAtCurrentPC(java.lang.String name,
                                             java.lang.String typeDescriptor,
                                             int localNum,
                                             int variableScopeEndLabel)
public void addException(int start_pc,
                         int end_pc,
                         int handler_pc,
                         int catch_type)
public void createExceptionTable(TryStmt tryStmt)
public int maxLocals()
public void addLabel(int label)
public int addressOf(int label)
public void emitStoreReference(int pos)
public void emitLoadReference(int pos)
public void emitReturn()
public void emitThrow()
public void emitInstanceof(TypeDecl type)
public void emitCheckCast(TypeDecl type)
public void emitDup()
public void emitDup2()
public void emitPop()
public void emitSwap()
public void emitBranchNonNull(int label)
public void emitGoto(int label)
public void emitJsr(int label)
public void emitCompare(byte bytecode,
                        int label)
public java.lang.String toString()
public int size()
public int pos()
public byte[] toArray()
public int maxStackDepth()
public int stackDepth()
public void changeStackDepth(int i)

Fields

public java.util.Collection localVariableTable
public java.util.Collection lineNumberTable
public java.util.Collection exceptions

Inherited Members

Methods inherited from class java.lang.Object

clone
equals
finalize
getClass
hashCode
notify
notifyAll
wait
wait
wait