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
Nested ClassesModifier and TypeClassDescriptionprotected classclassclass -
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) voidintgetASM()getName()protected static intprotected static StringresolveLineNumber(int l) resolveVariableName(int slot, int l) voidsetContext(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
-