1 """
2 Objective-C runtime wrapper for use by LLDB Python formatters
3
4 part of The LLVM Compiler Infrastructure
5 This file is distributed under the University of Illinois Open Source
6 License. See LICENSE.TXT for details.
7 """
8 import lldb.formatters.metrics
9
10
12
18
20 if key in self.data:
21 return True
22 return False
23
24 - def add_item(self, key, value, ok_to_replace=True):
25 if not(ok_to_replace) and self.look_for_key(key):
26 return False
27 self.data[key] = value
28 return True
29
37