|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcode.instr.MakeRef
public class MakeRef
Construct a term that wraps a variable. Such a term is used only for the right-hand side of a collapsing rule, such as: append [] x = x The wrapper ensures a single entry to the variable and supports replacement in place.
| Field Summary | |
|---|---|
static MakeRef |
singleton
|
| Constructor Summary | |
|---|---|
private |
MakeRef()
|
| Method Summary | |
|---|---|
void |
execute(Computation computation)
This method executes whatever is intended by the Instruction. |
java.lang.String |
printAsTxtLoadable()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final MakeRef singleton
| Constructor Detail |
|---|
private MakeRef()
| Method Detail |
|---|
public void execute(Computation computation)
Instruction
execute in interface Instructioncomputation - The instruction is executed
in the context of this Computation.public java.lang.String printAsTxtLoadable()
printAsTxtLoadable in interface Instruction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||