def get_line_table(self):
    if (self.line_table is None):
        ops = self.get_ops()
        row = debug_info_item.row()
        for op_args in ops:
            op = op_args[0]
            if (op == DBG_END_SEQUENCE):
                break
            if (op == DBG_ADVANCE_PC):
                row.address += op.addr_offset
            elif (op == DBG_ADVANCE_LINE):
                row.line += op.line_offset
            elif (op == DBG_START_LOCAL):
                pass
            elif (op == DBG_START_LOCAL_EXTENDED):
                pass
            elif (op == DBG_END_LOCAL):
                pass
            elif (op == DBG_RESTART_LOCAL):
                pass
            elif (op == DBG_SET_PROLOGUE_END):
                row.prologue_end = True
            elif (op == DBG_SET_EPILOGUE_BEGIN):
                row.epilogue_begin = True
            elif (op == DBG_SET_FILE):
                row.source_file = op.name_idx
            else:
                row.line += op.line_offset
                row.address += op.addr_offset
                self.line_table.append(copy.copy(row))
                row.prologue_end = False
                row.epilogue_begin = False
    return self.line_table
def get_line_table(self):
    if (self.line_table is None):
        ops = self.get_ops()
        row = debug_info_item.row()
        for op_args in ops:
            op = op_args[0]
            if (op == DBG_END_SEQUENCE):
                break
            if (op == DBG_ADVANCE_PC):
                row.address += op.addr_offset
            elif (op == DBG_ADVANCE_LINE):
                row.line += op.line_offset
            elif (op == DBG_START_LOCAL):
                pass
            elif (op == DBG_START_LOCAL_EXTENDED):
                pass
            elif (op == DBG_END_LOCAL):
                pass
            elif (op == DBG_RESTART_LOCAL):
                pass
            elif (op == DBG_SET_PROLOGUE_END):
                row.prologue_end = True
            elif (op == DBG_SET_EPILOGUE_BEGIN):
                row.epilogue_begin = True
            elif (op == DBG_SET_FILE):
                row.source_file = op.name_idx
            else:
                row.line += op.line_offset
                row.address += op.addr_offset
                self.line_table.append(copy.copy(row))
                row.prologue_end = False
                row.epilogue_begin = False
    return self.line_table