Class ASMExecEnv


  • public class ASMExecEnv
    extends ExecEnv
    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.
    • Constructor Detail

      • ASMExecEnv

        public ASMExecEnv​(ASMModule asm,
                          Debugger debugger,
                          boolean cacheAttributeHelperResults)
    • Method Detail

      • getASMModule

        public ASMModule getASMModule()
      • registerOperations

        public void registerOperations​(ASM currentAsm)
      • getOperations

        public java.util.Collection getOperations​(ASMOclType type)
      • terminated

        public void terminated()
      • registerWeavingHelper

        public void registerWeavingHelper​(ASMOclType type,
                                          java.lang.String name,
                                          java.lang.String persistTo)
      • registerAttributeHelper

        public void registerAttributeHelper​(ASMOclType type,
                                            java.lang.String name,
                                            Operation oper)
      • isHelper

        public boolean isHelper​(ASMOclType type,
                                java.lang.String name)
      • isWeavingHelper

        public boolean isWeavingHelper​(ASMOclType type,
                                       java.lang.String name)