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
Modifier and TypeClassDescriptionprotected class
class
class
-
Field Summary
Fields inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
nativeImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInstruction
(ASMInstruction instruction) void
void
addLabeledInstruction
(ASMInstructionWithOperand instruction, String labelName) void
addLineNumberEntry
(String id, int begin, int end) void
addLocalVariableEntry
(int slot, String name, int begin, int end) void
addParameter
(ASMParameter parameter) void
addVariableInstruction
(ASMInstructionWithOperand instruction, String varId) void
int
beginLocalVariableEntry
(String id, String name) void
int
exec
(StackFrame frame) getASM()
getName()
resolveLineNumber
(int l) resolveVariableName
(int slot, int l) void
setContext
(String context) void
setContextType
(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, unset
Methods 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:
getContextSignature
in classOperation
-
addParameter
-
getParameters
- Specified by:
getParameters
in classOperation
-
addInstruction
-
addLabeledInstruction
-
getInstructions
-
addLabel
-
addVariableInstruction
-
getSignature
- Specified by:
getSignature
in classOperation
-
toString
-
exec
-
beginLineNumberEntry
-
endLineNumberEntry
-
addLineNumberEntry
-
getLineNumberTable
-
resolveLineNumber
-
beginLocalVariableEntry
-
endLocalVariableEntry
-
addLocalVariableEntry
-
getLocalVariableTable
-
resolveVariableName
-
getASM
-
setContextType
-
getReturnType
- Specified by:
getReturnType
in classOperation
-
getContextType
- Specified by:
getContextType
in classOperation
-