'Constructor.
:param Reassembler binary: The Binary analysis.
:param int insn_addr: Address of the instruction.
:param capstone_operand:
:param str operand_str: the string representation of this operand
:param str mnemonic: Mnemonic of the instruction that this operand belongs to.
:param str syntax: Provide a way to override the default syntax coming from `binary`.
:return: None'

def __init__(self, binary, insn_addr, insn_size, capstone_operand, operand_str, mnemonic, syntax=None):

    self.binary = binary
    self.project = binary.project
    self.insn_addr = insn_addr
    self.insn_size = insn_size
    self.operand_str = operand_str
    self.mnemonic = mnemonic
    self.syntax = (self.binary.syntax if (syntax is None) else syntax)
    self.type = None
    self.size = capstone_operand.size
    self.is_coderef = None
    self.is_dataref = None
    self.label = None
    self.label_offset = 0
    self.base = None
    self.index = None
    self.scale = None
    self.disp = None
    self.disp_is_coderef = None
    self.disp_is_dataref = None
    self.disp_label = None
    self.disp_label_offset = 0
    self._initialize(capstone_operand)
