public final class ExecutionPath extends Object
InstructionContext
that represents a sequence of an execution.
This object is immutable. The sequence is represented in left-associative style; that is, a sequence of [a,b,c,d] is represented as prev=[a,b,c] and last=d.
Modifier and Type | Field and Description |
---|---|
static ExecutionPath |
EMPTY
Singleton
ExecutionPath that represents an empty sequence []. |
Modifier and Type | Method and Description |
---|---|
ExecutionPath |
append(InstructionContext ins)
Creates a new
ExecutionPath that has
[... |
InstructionContext |
lastExecutionJSR()
Returns the InstructionContextImpl with an JSR/JSR_W
that was last in the ExecutionChain, without
a corresponding RET, i.e.
|
String |
toString()
Returns a human readable representation.
|
public static final ExecutionPath EMPTY
ExecutionPath
that represents an empty sequence [].public ExecutionPath append(InstructionContext ins)
ExecutionPath
that has
[... list in this ExecutionPath ..., ins].public InstructionContext lastExecutionJSR()
Copyright © 2004-2013. All Rights Reserved.