Package org.eclipse.m2m.atl.engine.vm
Class ASMExecEnv
java.lang.Object
org.eclipse.m2m.atl.engine.vm.ExecEnv
org.eclipse.m2m.atl.engine.vm.ASMExecEnv
An ASMExecEnv is an execution environment for ATL Stack Machine programs. It holds: * the only call Stack
of the machine (no multi-thread support required), * the Map of models used by the program, * the Map of
program-specific operations and attribute helpers. This permits several transformations to be launched in
sequence without altering one another.
-
Field Summary
Fields inherited from class org.eclipse.m2m.atl.engine.vm.ExecEnv
globalVariables
-
Constructor Summary
ConstructorDescriptionASMExecEnv
(ASMModule asm, Debugger debugger) ASMExecEnv
(ASMModule asm, Debugger debugger, boolean cacheAttributeHelperResults) -
Method Summary
Modifier and TypeMethodDescriptiongetHelperValue
(StackFrame frame, ASMOclAny element, String name) getOperation
(ASMOclType type, String name) getOperations
(ASMOclType type) boolean
isHelper
(ASMOclType type, String name) boolean
isWeavingHelper
(ASMOclType type, String name) void
registerAttributeHelper
(ASMOclType type, String name, Operation oper) void
registerOperations
(ASM currentAsm) void
registerWeavingHelper
(ASMOclType type, String name, String persistTo) void
setHelperValue
(StackFrame frame, ASMOclAny element, String name, ASMOclAny value) void
Methods inherited from class org.eclipse.m2m.atl.engine.vm.ExecEnv
addModel, addModel, addPermission, checkPermission, empty, getDebugger, getModel, getModels, getStack, getVariable, peek, pop, printStackTrace, push
-
Constructor Details
-
ASMExecEnv
-
ASMExecEnv
-
-
Method Details
-
getASMModule
-
registerOperations
-
getOperations
-
getOperation
-
terminated
public void terminated() -
registerWeavingHelper
-
registerAttributeHelper
-
isHelper
-
isWeavingHelper
-
getHelperValue
-
setHelperValue
-