Package org.eclipse.m2m.atl.engine.vm
Class ASMEmitter
java.lang.Object
org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny
org.eclipse.m2m.atl.engine.vm.ASMEmitter
This class is used by ATL compiler to create an ASM file.
-
Field Summary
Fields inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
nativeImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addLineNumberEntry
(String id, int begin, int end) void
addLocalVariableEntry
(int slot, String name, int begin, int end) void
addOperation
(String name) void
addOperationWithoutLVE
(String name) void
addParameter
(String name, String type) void
addParameterWithoutLVE
(String name, String type) void
void
beginLocalVariableEntry
(String id, String name) void
void
void
emitSimple
(String mnemonic) void
emitWithoutLabel
(String mnemonic, String param) void
void
void
getASM()
void
void
void
setContext
(String type) void
void
setVersion
(String version) Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny
asBag, asSequence, asSet, check, debug, findOperation, findOperation, get, getHelper, getNamedTargetFromSource, getOclAnyType, getType, invoke, invoke, invokeSuper, isHelper, oclIsKindOf, oclIsTypeOf, oclIsUndefined, oclType, operatorEQ, operatorNE, output, refGetValue, refImmediateComposite, refImmediateComposite, refInvokeOperation, refSetValue, refUnsetValue, set, setType, toString, unset
Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
getNativeImpl
-
Field Details
-
myType
-
-
Constructor Details
-
ASMEmitter
public ASMEmitter()
-
-
Method Details
-
newASM
-
newUnnamedASM
public void newUnnamedASM() -
setName
-
addField
-
finishOperation
public void finishOperation() -
addOperation
-
addOperationWithoutLVE
-
setContext
-
addParameter
-
addParameterWithoutLVE
-
beginLineNumberEntry
-
endLineNumberEntry
-
addLineNumberEntry
-
beginLocalVariableEntry
-
endLocalVariableEntry
-
addLocalVariableEntry
-
emitSimple
-
emit
-
emitWithoutLabel
-
getASM
-
dumpASM
-
getVersion
-
setVersion
-