com.jeffpalm.basic.bytecode
Interface IMutableCode

All Superinterfaces:
ICode, ICodeGenerator, IDumpable
All Known Implementing Classes:
Code

public interface IMutableCode
extends ICode


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.jeffpalm.basic.bytecode.ICode
ICode.Iterator
 
Method Summary
 int append(Instruction instr)
           
 void clear()
           
 boolean insertAfter(Instruction newInstr, Instruction target)
           
 boolean insertAtLabel(Instruction newInstr, int label)
           
 boolean insertBefore(Instruction newInstr, Instruction target)
           
 
Methods inherited from interface com.jeffpalm.basic.bytecode.ICode
getAtLabel, instructions, iterator, length, size
 
Methods inherited from interface com.jeffpalm.basic.bytecode.ICodeGenerator
gen
 
Methods inherited from interface com.jeffpalm.basic.util.IDumpable
dump
 

Method Detail

append

int append(Instruction instr)

insertAfter

boolean insertAfter(Instruction newInstr,
                    Instruction target)

insertBefore

boolean insertBefore(Instruction newInstr,
                     Instruction target)

insertAtLabel

boolean insertAtLabel(Instruction newInstr,
                      int label)

clear

void clear()