public interface InstructionsListener
| Modifier and Type | Interface and Description |
|---|---|
static class |
InstructionsListener.OperationType |
| Modifier and Type | Method and Description |
|---|---|
void |
instrChanged(List<Instr> instrs,
Instr oldInstr,
Instr newInstr,
int index,
InstructionsListener.OperationType op)
listen to a change of a list of instructions, right before the change going to take place
|
void instrChanged(List<Instr> instrs, Instr oldInstr, Instr newInstr, int index, InstructionsListener.OperationType op)
instrs - List of instructions before the change happensoldInstr - If possible, specify which instruction is the old one at indexnewInstr - If possible, this the new element inserted at indexindex - where the manipulation takes placeop - the operation type can be an ADD, REMOVE or UPDATECopyright © 2001–2024 JRuby. All rights reserved.