Class ASMEmitter


public class ASMEmitter extends ASMOclAny
This class is used by ATL compiler to create an ASM file.
  • Field Details

  • Constructor Details

    • ASMEmitter

      public ASMEmitter()
  • Method Details

    • newASM

      public void newASM(String name)
    • newUnnamedASM

      public void newUnnamedASM()
    • setName

      public void setName(String name)
    • addField

      public void addField(String name, String type)
    • finishOperation

      public void finishOperation()
    • addOperation

      public void addOperation(String name)
    • addOperationWithoutLVE

      public void addOperationWithoutLVE(String name)
    • setContext

      public void setContext(String type)
    • addParameter

      public void addParameter(String name, String type)
    • addParameterWithoutLVE

      public void addParameterWithoutLVE(String name, String type)
    • beginLineNumberEntry

      public void beginLineNumberEntry(String id)
    • endLineNumberEntry

      public void endLineNumberEntry(String id)
    • addLineNumberEntry

      public void addLineNumberEntry(String id, int begin, int end)
    • beginLocalVariableEntry

      public void beginLocalVariableEntry(String id, String name)
    • endLocalVariableEntry

      public void endLocalVariableEntry(String id)
    • addLocalVariableEntry

      public void addLocalVariableEntry(int slot, String name, int begin, int end)
    • emitSimple

      public void emitSimple(String mnemonic)
    • emit

      public void emit(String mnemonic, String param)
    • emitWithoutLabel

      public void emitWithoutLabel(String mnemonic, String param)
    • getASM

      public ASM getASM()
    • dumpASM

      public void dumpASM(String fileName)
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)