Package org.eclipse.m2m.atl.engine.vm
Class ASMOperation
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.Operation
org.eclipse.m2m.atl.engine.vm.ASMOperation
The line number table contains a list of IDs (startLine:startColumn-endLine:endColumn) of source elements
associated to a range of asm instructions. This list is depth first (first the condition is found, then the
if). However, it is entered root first... so it is a LIFO. To find the source element (and its location,
IDs being positions) associated to an asm instruction, we just have to find the first range matching the
instruction.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classclassclass -
Field Summary
FieldsFields inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
nativeImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInstruction(ASMInstruction instruction) voidvoidaddLabeledInstruction(ASMInstructionWithOperand instruction, String labelName) voidaddLineNumberEntry(String id, int begin, int end) voidaddLocalVariableEntry(int slot, String name, int begin, int end) voidaddParameter(ASMParameter parameter) voidaddVariableInstruction(ASMInstructionWithOperand instruction, String varId) voidintbeginLocalVariableEntry(String id, String name) voidintexec(StackFrame frame) getASM()getName()resolveLineNumber(int l) resolveVariableName(int slot, int l) voidsetContext(String context) voidsetContextType(ASMOclType contextType) toString()Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny
asBag, asSequence, asSet, check, debug, findOperation, findOperation, getHelper, getNamedTargetFromSource, getOclAnyType, getType, invoke, invoke, invokeSuper, isHelper, oclIsKindOf, oclIsTypeOf, oclIsUndefined, oclType, operatorEQ, operatorNE, output, refGetValue, refImmediateComposite, refImmediateComposite, refInvokeOperation, refSetValue, refUnsetValue, set, setType, toString, unsetMethods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
getNativeImpl
-
Field Details
-
myType
-
-
Constructor Details
-
ASMOperation
-
-
Method Details
-
getName
-
setContext
-
getContextSignature
- Specified by:
getContextSignaturein classOperation
-
addParameter
-
getParameters
- Specified by:
getParametersin classOperation
-
addInstruction
-
addLabeledInstruction
-
getInstructions
-
addLabel
-
addVariableInstruction
-
getSignature
- Specified by:
getSignaturein classOperation
-
toString
-
exec
-
beginLineNumberEntry
-
endLineNumberEntry
-
addLineNumberEntry
-
getLineNumberTable
-
resolveLineNumber
-
beginLocalVariableEntry
-
endLocalVariableEntry
-
addLocalVariableEntry
-
getLocalVariableTable
-
resolveVariableName
-
getASM
-
setContextType
-
getReturnType
- Specified by:
getReturnTypein classOperation
-
getContextType
- Specified by:
getContextTypein classOperation
-