|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.engine.emfvm.lib.AbstractStackFrame
org.eclipse.m2m.atl.engine.emfvm.StackFrame
public class StackFrame
The Stack Frame implementation.
Field Summary |
---|
Fields inherited from class org.eclipse.m2m.atl.engine.emfvm.lib.AbstractStackFrame |
---|
caller, execEnv, localVars, operation |
Constructor Summary | |
---|---|
|
StackFrame(ExecEnv execEnv)
Creates an empty StackFrame which refers to its ExecEnv . |
|
StackFrame(ExecEnv execEnv,
ASMModule asmModule,
Operation operation)
Creates a new StackFrame with the given parameters. |
protected |
StackFrame(StackFrame caller,
Operation operation)
Creates a new StackFrame. |
Method Summary | |
---|---|
protected java.lang.String |
getLocation()
Returns the current location. |
int |
getPc()
|
AbstractStackFrame |
newFrame(Operation operation)
Returns a new frame for the given operation. |
void |
setPc(int pc)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.m2m.atl.engine.emfvm.lib.AbstractStackFrame |
---|
getAsmModule, getCaller, getExecEnv, getLocalVars, getOperation, setLocalVars |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StackFrame(ExecEnv execEnv, ASMModule asmModule, Operation operation)
StackFrame
with the given parameters.
execEnv
- the execution environmentasmModule
- the transformation moduleoperation
- the main operationprotected StackFrame(StackFrame caller, Operation operation)
caller
- the parent stack frameoperation
- the operationpublic StackFrame(ExecEnv execEnv)
ExecEnv
.
execEnv
- the ExecEnv
Method Detail |
---|
public AbstractStackFrame newFrame(Operation operation)
newFrame
in class AbstractStackFrame
operation
- the frame operation
AbstractStackFrame.newFrame(org.eclipse.m2m.atl.engine.emfvm.lib.Operation)
protected java.lang.String getLocation()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int getPc()
public void setPc(int pc)
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |