org.eclipse.m2m.atl.engine.emfvm.lib
Class Operation

java.lang.Object
  extended by org.eclipse.m2m.atl.engine.emfvm.lib.Operation
Direct Known Subclasses:
ASMOperation

public abstract class Operation
extends java.lang.Object

The abstract Operation class.


Field Summary
protected  int maxLocals
           
 
Constructor Summary
Operation(int maxLocals)
          Creates a new operation.
 
Method Summary
abstract  java.lang.Object exec(AbstractStackFrame frame)
          Executes an operation.
 int getMaxLocals()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxLocals

protected int maxLocals
Constructor Detail

Operation

public Operation(int maxLocals)
Creates a new operation.

Parameters:
maxLocals - max locals
Method Detail

exec

public abstract java.lang.Object exec(AbstractStackFrame frame)
Executes an operation.

Parameters:
frame - the frame for execution
Returns:
the result

getMaxLocals

public int getMaxLocals()

Copyright 2007 IBM Corporation and others.
All Rights Reserved.