public class TreeInstructionPointer extends AbstractInstructionPointer
| Modifier | Constructor and Description |
|---|---|
protected |
TreeInstructionPointer(List<Program> childPrograms,
int childProgramIndex,
InstructionPointer childInstructionPointer) |
| Modifier and Type | Method and Description |
|---|---|
static InstructionPointer |
createInstructionPointer(List<Program> childPrograms) |
protected static InstructionPointer |
createInstructionPointerAt(List<Program> childPrograms,
int childProgramIndex) |
protected static InstructionPointer |
firstInstructionAt(List<Program> childPrograms,
int childProgramIndex) |
InstructionPointer |
forward() |
char |
getInstruction() |
isEndOfProgramprotected TreeInstructionPointer(List<Program> childPrograms, int childProgramIndex, InstructionPointer childInstructionPointer)
public char getInstruction()
public InstructionPointer forward()
public static InstructionPointer createInstructionPointer(List<Program> childPrograms)
protected static InstructionPointer createInstructionPointerAt(List<Program> childPrograms, int childProgramIndex)
protected static InstructionPointer firstInstructionAt(List<Program> childPrograms, int childProgramIndex)
Copyright © 2018. All rights reserved.