Class DisassembledInstruction
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.DisassembledInstruction
Represents a single disassembled instruction.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DisassembledInstructionbooleanThe address of the instruction.The column within the line that corresponds to this instruction, if any.The end column of the range that corresponds to this instruction, if any.The end line of the range that corresponds to this instruction, if any.Text representing the instruction and its operands, in an implementation-defined format.Optional raw bytes representing the instruction and its operands, in an implementation-defined format.getLine()The line within the source location that corresponds to this instruction, if any.Source location that corresponds to this instruction, if any.Name of the symbol that corresponds with the location of this instruction, if any.inthashCode()setAddress(String address) setEndColumn(Integer endColumn) setEndLine(Integer endLine) setInstruction(String instruction) setInstructionBytes(String instructionBytes) setLocation(Source location)
-
Method Details
-
getAddress
The address of the instruction. Treated as a hex value if prefixed with '0x', or as a decimal value otherwise. -
setAddress
-
getInstructionBytes
Optional raw bytes representing the instruction and its operands, in an implementation-defined format. -
setInstructionBytes
-
getInstruction
Text representing the instruction and its operands, in an implementation-defined format. -
setInstruction
-
getSymbol
Name of the symbol that corresponds with the location of this instruction, if any. -
setSymbol
-
getLocation
Source location that corresponds to this instruction, if any. Should always be set (if available) on the first instruction returned, but can be omitted afterwards if this instruction maps to the same source file as the previous instruction. -
setLocation
-
getLine
The line within the source location that corresponds to this instruction, if any. -
setLine
-
getColumn
The column within the line that corresponds to this instruction, if any. -
setColumn
-
getEndLine
The end line of the range that corresponds to this instruction, if any. -
setEndLine
-
getEndColumn
The end column of the range that corresponds to this instruction, if any. -
setEndColumn
-
equals
-
hashCode
public int hashCode() -
create
-