Public Member Functions | Static Public Member Functions

# BinNavi.API.disassembly.Operand Class Reference

Represents a single operand of a disassembled instruction. More...

Inherits BinNavi::APIHelpers::ApiObject< COperandTree >.

List of all members.

## Public Member Functions
OperandExpression | getRootNode ()
| Root node of the expression tree.
String | toString ()
| Printable representation of the operand.
## Static Public Member Functions
static Operand | create (final Module module, final OperandExpression root)
| Creates a new operand.

## Detailed Description

Represents an operand of a disassembled instruction. Each operand is stored as a tree of operand expressions with a root node and a number of child nodes that form the operand.

## Member Function Documentation

static Operand BinNavi.API.disassembly.Operand.create | ( | final Module | module,
|  | final OperandExpression | root |
| ) |  |  | `[static]`

Creates a new operand.

Parameters:

  | module | The module the operand belongs to.
  | root | The root node of the operand.

Returns:
  The created operand.

OperandExpression BinNavi.API.disassembly.Operand.getRootNode | ( |  | ) |

Returns the the root expression of the operand tree.

Returns:
  The root expression of the operand tree.

String BinNavi.API.disassembly.Operand.toString | ( |  | ) |

Returns the string representation of the operand.

Returns:
  The string representation of the operand.