|
||||||||||
| 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
public abstract class AbstractStackFrame
Abstract Stack Frame definition.
| Nested Class Summary | |
|---|---|
class |
AbstractStackFrame.StackSequence
A Sequence of AbstractStackFrame. |
| Field Summary | |
|---|---|
protected AbstractStackFrame |
caller
|
protected ExecEnv |
execEnv
The execution environment. |
protected java.lang.Object[] |
localVars
The local variables list. |
protected Operation |
operation
|
| Constructor Summary | |
|---|---|
protected |
AbstractStackFrame(AbstractStackFrame caller,
Operation frameOperation)
Creates a new StackFrame. |
protected |
AbstractStackFrame(ExecEnv execEnv)
Creates an empty StackFrame which refers to its ExecEnv. |
|
AbstractStackFrame(ExecEnv execEnv,
ASMModule asmModule,
Operation operation)
Creates a new AbstractStackFrame with the given parameters. |
| Method Summary | |
|---|---|
AbstractStackFrame |
enter()
Makes the tool enter the frame. |
ASMModule |
getAsmModule()
|
AbstractStackFrame |
getCaller()
|
ExecEnv |
getExecEnv()
|
java.util.Map<java.lang.String,java.lang.Object> |
getLocalVariables()
Returns the local variables map. |
java.lang.Object[] |
getLocalVars()
|
abstract int |
getLocation()
Returns the current location. |
Operation |
getOperation()
|
java.lang.String |
getOpName()
|
java.lang.String |
getSourceLocation()
|
AbstractStackFrame.StackSequence |
getStack()
Gets a list of the stacks. |
void |
leave()
Makes the tool leave the frame. |
abstract AbstractStackFrame |
newFrame(Operation frameOperation)
Returns a new frame for the given operation. |
void |
setLocalVars(java.lang.Object[] localVars)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ExecEnv execEnv
protected AbstractStackFrame caller
protected Operation operation
protected java.lang.Object[] localVars
| Constructor Detail |
|---|
public AbstractStackFrame(ExecEnv execEnv,
ASMModule asmModule,
Operation operation)
AbstractStackFrame with the given parameters.
execEnv - the execution environmentasmModule - the transformation moduleoperation - the main operation
protected AbstractStackFrame(AbstractStackFrame caller,
Operation frameOperation)
caller - the parent stack frameframeOperation - the operationprotected AbstractStackFrame(ExecEnv execEnv)
ExecEnv.
execEnv - the ExecEnv| Method Detail |
|---|
public abstract AbstractStackFrame newFrame(Operation frameOperation)
frameOperation - the frame operation
public ASMModule getAsmModule()
public java.lang.Object[] getLocalVars()
public void setLocalVars(java.lang.Object[] localVars)
public ExecEnv getExecEnv()
public Operation getOperation()
public AbstractStackFrame getCaller()
public java.util.Map<java.lang.String,java.lang.Object> getLocalVariables()
public AbstractStackFrame enter()
public void leave()
public AbstractStackFrame.StackSequence getStack()
public java.lang.String getSourceLocation()
public java.lang.String getOpName()
public abstract int getLocation()
|
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 | |||||||||