| Modifier and Type | Class and Description |
|---|---|
static class |
ProgramImpl.ProgramBuilder |
| Constructor and Description |
|---|
ProgramImpl(List<SemanticsCommand> program)
Initialize this program.
|
| Modifier and Type | Method and Description |
|---|---|
static ProgramImpl.ProgramBuilder |
builder() |
int |
countPredecessors(int programCounter) |
SemanticsCommand |
getStatement(int programCounter)
Provides the program statement for a given program counter
|
String |
toString() |
public ProgramImpl(List<SemanticsCommand> program)
program - The list of statements that make up this program.public static ProgramImpl.ProgramBuilder builder()
public SemanticsCommand getStatement(int programCounter)
ProgramgetStatement in interface ProgramprogramCounter - A program counter.public int countPredecessors(int programCounter)
countPredecessors in interface ProgramCopyright © 2018. All rights reserved.