|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdspl.intermediate.instructions.InstructionSet
public class InstructionSet
Wrapper class for a series of instructions. Its used by the tree walker to keep track of the end of the instruction list.
| Field Summary | |
|---|---|
private Instruction |
head
First insturction in the series |
private Instruction |
tail
Final instruction in the series |
| Constructor Summary | |
|---|---|
InstructionSet()
Primary contructor builds an empty list |
|
| Method Summary | |
|---|---|
void |
append(Instruction next)
Takes the next instruction and appends it to the list if there is currently no list, it starts the list |
void |
append(InstructionSet nextSet)
|
Instruction |
first()
Returns the head of the list |
Instruction |
last()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Instruction head
private Instruction tail
| Constructor Detail |
|---|
public InstructionSet()
| Method Detail |
|---|
public void append(Instruction next)
next - public void append(InstructionSet nextSet)
public Instruction first()
public Instruction last()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||