Package org.eclipse.m2m.atl.engine.asm
Class ASMOperation
java.lang.Object
org.eclipse.m2m.atl.engine.asm.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
-
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
getASM()
getName()
protected static int
protected static String
resolveLineNumber
(int l) resolveVariableName
(int slot, int l) void
setContext
(String context) toString()
-
Constructor Details
-
ASMOperation
-
-
Method Details
-
getName
-
setContext
-
getContextSignature
-
addParameter
-
getParameters
-
addInstruction
-
addLabeledInstruction
-
getInstructions
-
addLabel
-
addVariableInstruction
-
getSignature
-
toString
-
getNbArgs
-
getOpName
-
beginLineNumberEntry
-
endLineNumberEntry
-
addLineNumberEntry
-
getLineNumberTable
-
resolveLineNumber
-
beginLocalVariableEntry
-
endLocalVariableEntry
-
addLocalVariableEntry
-
getLocalVariableTable
-
resolveVariableName
-
getASM
-