blob: c00276b76abfe238379421587375375395756a0c [file] [log] [blame]
Johnny Chen7be5a4f2011-07-18 19:15:22 +00001//===-- SWIG Interface for SBValue ------------------------------*- C++ -*-===//
Johnny Chen854a1ba2011-07-18 19:08:30 +00002//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10namespace lldb {
11
12%feature("docstring",
13"Represents the value of a variable, a register, or an expression.
14
15SBValue supports iteration through its child, which in turn is represented
16as an SBValue. For example, we can get the general purpose registers of a
17frame as an SBValue, and iterate through all the registers,
18
19 registerSet = frame.GetRegisters() # Returns an SBValueList.
20 for regs in registerSet:
21 if 'general purpose registers' in regs.getName().lower():
22 GPRs = regs
23 break
24
25 print '%s (number of children = %d):' % (GPRs.GetName(), GPRs.GetNumChildren())
26 for reg in GPRs:
27 print 'Name: ', reg.GetName(), ' Value: ', reg.GetValue()
28
29produces the output:
30
31General Purpose Registers (number of children = 21):
32Name: rax Value: 0x0000000100000c5c
33Name: rbx Value: 0x0000000000000000
34Name: rcx Value: 0x00007fff5fbffec0
35Name: rdx Value: 0x00007fff5fbffeb8
36Name: rdi Value: 0x0000000000000001
37Name: rsi Value: 0x00007fff5fbffea8
38Name: rbp Value: 0x00007fff5fbffe80
39Name: rsp Value: 0x00007fff5fbffe60
40Name: r8 Value: 0x0000000008668682
41Name: r9 Value: 0x0000000000000000
42Name: r10 Value: 0x0000000000001200
43Name: r11 Value: 0x0000000000000206
44Name: r12 Value: 0x0000000000000000
45Name: r13 Value: 0x0000000000000000
46Name: r14 Value: 0x0000000000000000
47Name: r15 Value: 0x0000000000000000
48Name: rip Value: 0x0000000100000dae
49Name: rflags Value: 0x0000000000000206
50Name: cs Value: 0x0000000000000027
51Name: fs Value: 0x0000000000000010
Johnny Chende856cc2011-07-25 23:41:08 +000052Name: gs Value: 0x0000000000000048
53
54See also linked_list_iter() for another perspective on how to iterate through an
55SBValue instance which interprets the value object as representing the head of a
56linked list."
Johnny Chenc3fba812011-07-18 20:13:38 +000057) SBValue;
Johnny Chen854a1ba2011-07-18 19:08:30 +000058class SBValue
59{
60public:
61 SBValue ();
62
63 SBValue (const SBValue &rhs);
64
65 ~SBValue ();
66
67 bool
Greg Claytond68e0892011-09-09 23:04:00 +000068 IsValid();
Johnny Chen854a1ba2011-07-18 19:08:30 +000069
Jim Inghame0bd5712011-12-19 20:39:44 +000070 void
71 Clear();
72
Johnny Chen854a1ba2011-07-18 19:08:30 +000073 SBError
74 GetError();
75
76 lldb::user_id_t
77 GetID ();
78
79 const char *
80 GetName();
81
82 const char *
83 GetTypeName ();
84
85 size_t
86 GetByteSize ();
87
Johnny Chen854a1ba2011-07-18 19:08:30 +000088 bool
89 IsInScope ();
90
91 lldb::Format
Greg Claytond68e0892011-09-09 23:04:00 +000092 GetFormat ();
Johnny Chen854a1ba2011-07-18 19:08:30 +000093
94 void
95 SetFormat (lldb::Format format);
96
Johnny Chen854a1ba2011-07-18 19:08:30 +000097 const char *
98 GetValue ();
99
Greg Clayton0fb0bcc2011-08-03 22:57:10 +0000100 int64_t
Enrico Granatac92eb402011-08-04 01:41:02 +0000101 GetValueAsSigned(SBError& error, int64_t fail_value=0);
Greg Clayton0fb0bcc2011-08-03 22:57:10 +0000102
103 uint64_t
Enrico Granatac92eb402011-08-04 01:41:02 +0000104 GetValueAsUnsigned(SBError& error, uint64_t fail_value=0);
105
106 int64_t
107 GetValueAsSigned(int64_t fail_value=0);
108
109 uint64_t
Greg Clayton0fb0bcc2011-08-03 22:57:10 +0000110 GetValueAsUnsigned(uint64_t fail_value=0);
111
Johnny Chen854a1ba2011-07-18 19:08:30 +0000112 ValueType
113 GetValueType ();
114
Johnny Chen854a1ba2011-07-18 19:08:30 +0000115 bool
116 GetValueDidChange ();
117
Johnny Chen854a1ba2011-07-18 19:08:30 +0000118 const char *
119 GetSummary ();
120
Johnny Chen854a1ba2011-07-18 19:08:30 +0000121 const char *
122 GetObjectDescription ();
123
Jim Ingham1b425752011-12-08 19:44:08 +0000124 lldb::SBValue
125 GetDynamicValue (lldb::DynamicValueType use_dynamic);
126
127 lldb::SBValue
128 GetStaticValue ();
129
Enrico Granatadba1de82012-03-27 02:35:13 +0000130 lldb::SBValue
131 GetNonSyntheticValue ();
132
Jim Ingham1b425752011-12-08 19:44:08 +0000133 bool
134 IsDynamic();
135
Johnny Chen854a1ba2011-07-18 19:08:30 +0000136 const char *
137 GetLocation ();
138
Johnny Chen854a1ba2011-07-18 19:08:30 +0000139 bool
140 SetValueFromCString (const char *value_str);
141
Enrico Granata651cbe22012-05-08 21:25:06 +0000142 bool
143 SetValueFromCString (const char *value_str, lldb::SBError& error);
144
Enrico Granatad760907c2012-02-17 03:18:30 +0000145 lldb::SBTypeFormat
146 GetTypeFormat ();
147
148 lldb::SBTypeSummary
149 GetTypeSummary ();
150
151 lldb::SBTypeFilter
152 GetTypeFilter ();
153
154 lldb::SBTypeSynthetic
155 GetTypeSynthetic ();
156
Johnny Chen854a1ba2011-07-18 19:08:30 +0000157 lldb::SBValue
158 GetChildAtIndex (uint32_t idx);
159
160 %feature("docstring", "
161 //------------------------------------------------------------------
162 /// Get a child value by index from a value.
163 ///
164 /// Structs, unions, classes, arrays and and pointers have child
165 /// values that can be access by index.
166 ///
167 /// Structs and unions access child members using a zero based index
168 /// for each child member. For
169 ///
170 /// Classes reserve the first indexes for base classes that have
171 /// members (empty base classes are omitted), and all members of the
172 /// current class will then follow the base classes.
173 ///
174 /// Pointers differ depending on what they point to. If the pointer
175 /// points to a simple type, the child at index zero
176 /// is the only child value available, unless \a synthetic_allowed
177 /// is \b true, in which case the pointer will be used as an array
178 /// and can create 'synthetic' child values using positive or
179 /// negative indexes. If the pointer points to an aggregate type
180 /// (an array, class, union, struct), then the pointee is
181 /// transparently skipped and any children are going to be the indexes
182 /// of the child values within the aggregate type. For example if
183 /// we have a 'Point' type and we have a SBValue that contains a
184 /// pointer to a 'Point' type, then the child at index zero will be
185 /// the 'x' member, and the child at index 1 will be the 'y' member
186 /// (the child at index zero won't be a 'Point' instance).
187 ///
188 /// Arrays have a preset number of children that can be accessed by
189 /// index and will returns invalid child values for indexes that are
190 /// out of bounds unless the \a synthetic_allowed is \b true. In this
191 /// case the array can create 'synthetic' child values for indexes
192 /// that aren't in the array bounds using positive or negative
193 /// indexes.
194 ///
195 /// @param[in] idx
196 /// The index of the child value to get
197 ///
198 /// @param[in] use_dynamic
199 /// An enumeration that specifies wether to get dynamic values,
200 /// and also if the target can be run to figure out the dynamic
201 /// type of the child value.
202 ///
203 /// @param[in] synthetic_allowed
204 /// If \b true, then allow child values to be created by index
205 /// for pointers and arrays for indexes that normally wouldn't
206 /// be allowed.
207 ///
208 /// @return
209 /// A new SBValue object that represents the child member value.
210 //------------------------------------------------------------------
211 ") GetChildAtIndex;
212 lldb::SBValue
213 GetChildAtIndex (uint32_t idx,
214 lldb::DynamicValueType use_dynamic,
215 bool can_create_synthetic);
Enrico Granata979e20d2011-07-29 19:53:35 +0000216
217 lldb::SBValue
Greg Claytond68e0892011-09-09 23:04:00 +0000218 CreateChildAtOffset (const char *name, uint32_t offset, lldb::SBType type);
Enrico Granata979e20d2011-07-29 19:53:35 +0000219
220 lldb::SBValue
Greg Claytond68e0892011-09-09 23:04:00 +0000221 SBValue::Cast (lldb::SBType type);
Johnny Chen854a1ba2011-07-18 19:08:30 +0000222
Enrico Granata979e20d2011-07-29 19:53:35 +0000223 lldb::SBValue
224 CreateValueFromExpression (const char *name, const char* expression);
225
226 lldb::SBValue
Greg Claytond68e0892011-09-09 23:04:00 +0000227 CreateValueFromAddress(const char* name, lldb::addr_t address, lldb::SBType type);
Enrico Granata979e20d2011-07-29 19:53:35 +0000228
Enrico Granata91544802011-09-06 19:20:51 +0000229 lldb::SBValue
230 CreateValueFromData (const char* name,
Greg Claytond68e0892011-09-09 23:04:00 +0000231 lldb::SBData data,
232 lldb::SBType type);
Enrico Granata91544802011-09-06 19:20:51 +0000233
Enrico Granata979e20d2011-07-29 19:53:35 +0000234 lldb::SBType
235 GetType();
236
Johnny Chen854a1ba2011-07-18 19:08:30 +0000237 %feature("docstring", "
238 //------------------------------------------------------------------
239 /// Returns the child member index.
240 ///
241 /// Matches children of this object only and will match base classes and
242 /// member names if this is a clang typed object.
243 ///
244 /// @param[in] name
245 /// The name of the child value to get
246 ///
247 /// @return
248 /// An index to the child member value.
249 //------------------------------------------------------------------
250 ") GetIndexOfChildWithName;
251 uint32_t
252 GetIndexOfChildWithName (const char *name);
253
254 lldb::SBValue
255 GetChildMemberWithName (const char *name);
256
257 %feature("docstring", "
258 //------------------------------------------------------------------
259 /// Returns the child member value.
260 ///
261 /// Matches child members of this object and child members of any base
262 /// classes.
263 ///
264 /// @param[in] name
265 /// The name of the child value to get
266 ///
267 /// @param[in] use_dynamic
268 /// An enumeration that specifies wether to get dynamic values,
269 /// and also if the target can be run to figure out the dynamic
270 /// type of the child value.
271 ///
272 /// @return
273 /// A new SBValue object that represents the child member value.
274 //------------------------------------------------------------------
275 ") GetChildMemberWithName;
276 lldb::SBValue
277 GetChildMemberWithName (const char *name, lldb::DynamicValueType use_dynamic);
278
279 %feature("docstring", "Expands nested expressions like .a->b[0].c[1]->d."
280 ) GetValueForExpressionPath;
281 lldb::SBValue
282 GetValueForExpressionPath(const char* expr_path);
283
284 uint32_t
285 GetNumChildren ();
286
287 void *
288 GetOpaqueType();
289
Johnny Chen854a1ba2011-07-18 19:08:30 +0000290 lldb::SBValue
291 Dereference ();
292
Enrico Granata979e20d2011-07-29 19:53:35 +0000293 lldb::SBValue
294 AddressOf();
295
Johnny Chen854a1ba2011-07-18 19:08:30 +0000296 bool
297 TypeIsPointerType ();
Enrico Granata979e20d2011-07-29 19:53:35 +0000298
299 lldb::SBTarget
300 GetTarget();
Johnny Chen854a1ba2011-07-18 19:08:30 +0000301
Enrico Granata979e20d2011-07-29 19:53:35 +0000302 lldb::SBProcess
303 GetProcess();
304
305 lldb::SBThread
306 GetThread();
307
308 lldb::SBFrame
309 GetFrame();
310
Johnny Chenecd4feb2011-10-14 00:42:25 +0000311 %feature("docstring", "
312 /// Find and watch a variable.
313 /// It returns an SBWatchpoint, which may be invalid.
314 ") Watch;
Greg Clayton1fa6b3d2011-10-13 18:08:26 +0000315 lldb::SBWatchpoint
Johnny Chen3f883492012-06-04 23:19:54 +0000316 Watch (bool resolve_location, bool read, bool write, SBError &error);
Greg Clayton1fa6b3d2011-10-13 18:08:26 +0000317
Johnny Chenecd4feb2011-10-14 00:42:25 +0000318 %feature("docstring", "
319 /// Find and watch the location pointed to by a variable.
320 /// It returns an SBWatchpoint, which may be invalid.
321 ") WatchPointee;
Greg Clayton1fa6b3d2011-10-13 18:08:26 +0000322 lldb::SBWatchpoint
Johnny Chen3f883492012-06-04 23:19:54 +0000323 WatchPointee (bool resolve_location, bool read, bool write, SBError &error);
Greg Clayton1fa6b3d2011-10-13 18:08:26 +0000324
Johnny Chen854a1ba2011-07-18 19:08:30 +0000325 bool
326 GetDescription (lldb::SBStream &description);
327
328 bool
329 GetExpressionPath (lldb::SBStream &description);
Enrico Granata91544802011-09-06 19:20:51 +0000330
331 %feature("docstring", "
332 //------------------------------------------------------------------
333 /// Get an SBData wrapping what this SBValue points to.
334 ///
335 /// This method will dereference the current SBValue, if its
336 /// data type is a T* or T[], and extract item_count elements
337 /// of type T from it, copying their contents in an SBData.
338 ///
339 /// @param[in] item_idx
340 /// The index of the first item to retrieve. For an array
341 /// this is equivalent to array[item_idx], for a pointer
342 /// to *(pointer + item_idx). In either case, the measurement
343 /// unit for item_idx is the sizeof(T) rather than the byte
344 ///
345 /// @param[in] item_count
346 /// How many items should be copied into the output. By default
347 /// only one item is copied, but more can be asked for.
348 ///
349 /// @return
350 /// An SBData with the contents of the copied items, on success.
351 /// An empty SBData otherwise.
352 //------------------------------------------------------------------
353 ") GetPointeeData;
354 lldb::SBData
355 GetPointeeData (uint32_t item_idx = 0,
356 uint32_t item_count = 1);
357
358 %feature("docstring", "
359 //------------------------------------------------------------------
360 /// Get an SBData wrapping the contents of this SBValue.
361 ///
362 /// This method will read the contents of this object in memory
363 /// and copy them into an SBData for future use.
364 ///
365 /// @return
366 /// An SBData with the contents of this SBValue, on success.
367 /// An empty SBData otherwise.
368 //------------------------------------------------------------------
369 ") GetData;
370 lldb::SBData
371 GetData ();
372
373 lldb::addr_t
374 GetLoadAddress();
375
376 lldb::SBAddress
377 GetAddress();
Johnny Chen854a1ba2011-07-18 19:08:30 +0000378
379 %feature("docstring", "Returns an expression path for this value."
Enrico Granata91544802011-09-06 19:20:51 +0000380 ) GetExpressionPath;
Johnny Chen854a1ba2011-07-18 19:08:30 +0000381 bool
382 GetExpressionPath (lldb::SBStream &description, bool qualify_cxx_base_classes);
Greg Clayton1b925202012-01-29 06:07:39 +0000383
384 %pythoncode %{
Greg Claytond41abdc2012-04-11 16:20:15 +0000385 def __get_dynamic__ (self):
386 '''Helper function for the "SBValue.dynamic" property.'''
387 return self.GetDynamicValue (eDynamicCanRunTarget)
388
Greg Clayton1b925202012-01-29 06:07:39 +0000389 __swig_getmethods__["name"] = GetName
Greg Clayton2a94be12012-06-29 22:00:42 +0000390 if _newclass: name = property(GetName, None, doc='''A read only property that returns the name of this value as a string.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000391
392 __swig_getmethods__["type"] = GetType
Greg Clayton2a94be12012-06-29 22:00:42 +0000393 if _newclass: type = property(GetType, None, doc='''A read only property that returns a lldb.SBType object that represents the type for this value.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000394
395 __swig_getmethods__["size"] = GetByteSize
Greg Clayton2a94be12012-06-29 22:00:42 +0000396 if _newclass: size = property(GetByteSize, None, doc='''A read only property that returns the size in bytes of this value.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000397
398 __swig_getmethods__["is_in_scope"] = IsInScope
Greg Clayton2a94be12012-06-29 22:00:42 +0000399 if _newclass: is_in_scope = property(IsInScope, None, doc='''A read only property that returns a boolean value that indicates whether this value is currently lexically in scope.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000400
401 __swig_getmethods__["format"] = GetFormat
402 __swig_setmethods__["format"] = SetFormat
Greg Clayton2a94be12012-06-29 22:00:42 +0000403 if _newclass: format = property(GetName, SetFormat, doc='''A read/write property that gets/sets the format used for lldb.SBValue().GetValue() for this value. See enumerations that start with "lldb.eFormat".''')
Greg Clayton1b925202012-01-29 06:07:39 +0000404
405 __swig_getmethods__["value"] = GetValue
406 __swig_setmethods__["value"] = SetValueFromCString
Greg Clayton2a94be12012-06-29 22:00:42 +0000407 if _newclass: value = property(GetValue, SetValueFromCString, doc='''A read/write property that gets/sets value from a string.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000408
409 __swig_getmethods__["value_type"] = GetValueType
Greg Clayton2a94be12012-06-29 22:00:42 +0000410 if _newclass: value_type = property(GetValueType, None, doc='''A read only property that returns an lldb enumeration value (see enumerations that start with "lldb.eValueType") that represents the type of this value (local, argument, global, register, etc.).''')
Greg Clayton1b925202012-01-29 06:07:39 +0000411
412 __swig_getmethods__["changed"] = GetValueDidChange
Greg Clayton2a94be12012-06-29 22:00:42 +0000413 if _newclass: changed = property(GetValueDidChange, None, doc='''A read only property that returns a boolean value that indicates if this value has changed since it was last updated.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000414
415 __swig_getmethods__["data"] = GetData
Greg Clayton2a94be12012-06-29 22:00:42 +0000416 if _newclass: data = property(GetData, None, doc='''A read only property that returns an lldb object (lldb.SBData) that represents the bytes that make up the value for this object.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000417
418 __swig_getmethods__["load_addr"] = GetLoadAddress
Greg Clayton2a94be12012-06-29 22:00:42 +0000419 if _newclass: load_addr = property(GetLoadAddress, None, doc='''A read only property that returns the load address of this value as an integer.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000420
421 __swig_getmethods__["addr"] = GetAddress
Greg Clayton2a94be12012-06-29 22:00:42 +0000422 if _newclass: addr = property(GetAddress, None, doc='''A read only property that returns an lldb.SBAddress that represents the address of this value if it is in memory.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000423
424 __swig_getmethods__["deref"] = Dereference
Greg Clayton2a94be12012-06-29 22:00:42 +0000425 if _newclass: deref = property(Dereference, None, doc='''A read only property that returns an lldb.SBValue that is created by dereferencing this value.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000426
427 __swig_getmethods__["address_of"] = AddressOf
Greg Clayton2a94be12012-06-29 22:00:42 +0000428 if _newclass: address_of = property(AddressOf, None, doc='''A read only property that returns an lldb.SBValue that represents the address-of this value.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000429
430 __swig_getmethods__["error"] = GetError
Greg Clayton2a94be12012-06-29 22:00:42 +0000431 if _newclass: error = property(GetError, None, doc='''A read only property that returns the lldb.SBError that represents the error from the last time the variable value was calculated.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000432
433 __swig_getmethods__["summary"] = GetSummary
Greg Clayton2a94be12012-06-29 22:00:42 +0000434 if _newclass: summary = property(GetSummary, None, doc='''A read only property that returns the summary for this value as a string''')
Greg Clayton1b925202012-01-29 06:07:39 +0000435
436 __swig_getmethods__["description"] = GetObjectDescription
Greg Clayton2a94be12012-06-29 22:00:42 +0000437 if _newclass: description = property(GetObjectDescription, None, doc='''A read only property that returns the language-specific description of this value as a string''')
Greg Claytond41abdc2012-04-11 16:20:15 +0000438
439 __swig_getmethods__["dynamic"] = __get_dynamic__
Greg Clayton2a94be12012-06-29 22:00:42 +0000440 if _newclass: dynamic = property(__get_dynamic__, None, doc='''A read only property that returns an lldb.SBValue that is created by finding the dynamic type of this value.''')
Greg Claytond41abdc2012-04-11 16:20:15 +0000441
Greg Clayton1b925202012-01-29 06:07:39 +0000442 __swig_getmethods__["location"] = GetLocation
Greg Clayton2a94be12012-06-29 22:00:42 +0000443 if _newclass: location = property(GetLocation, None, doc='''A read only property that returns the location of this value as a string.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000444
445 __swig_getmethods__["target"] = GetTarget
Greg Clayton2a94be12012-06-29 22:00:42 +0000446 if _newclass: target = property(GetTarget, None, doc='''A read only property that returns the lldb.SBTarget that this value is associated with.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000447
448 __swig_getmethods__["process"] = GetProcess
Greg Clayton2a94be12012-06-29 22:00:42 +0000449 if _newclass: process = property(GetProcess, None, doc='''A read only property that returns the lldb.SBProcess that this value is associated with, the returned value might be invalid and should be tested.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000450
451 __swig_getmethods__["thread"] = GetThread
Greg Clayton2a94be12012-06-29 22:00:42 +0000452 if _newclass: thread = property(GetThread, None, doc='''A read only property that returns the lldb.SBThread that this value is associated with, the returned value might be invalid and should be tested.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000453
454 __swig_getmethods__["frame"] = GetFrame
Greg Clayton2a94be12012-06-29 22:00:42 +0000455 if _newclass: frame = property(GetFrame, None, doc='''A read only property that returns the lldb.SBFrame that this value is associated with, the returned value might be invalid and should be tested.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000456
457 __swig_getmethods__["num_children"] = GetNumChildren
Greg Clayton2a94be12012-06-29 22:00:42 +0000458 if _newclass: num_children = property(GetNumChildren, None, doc='''A read only property that returns the number of child lldb.SBValues that this value has.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000459
Greg Claytond62b9c12012-02-03 07:02:37 +0000460 __swig_getmethods__["unsigned"] = GetValueAsUnsigned
Greg Clayton2a94be12012-06-29 22:00:42 +0000461 if _newclass: unsigned = property(GetValueAsUnsigned, None, doc='''A read only property that returns the value of this SBValue as an usigned integer.''')
Greg Claytond62b9c12012-02-03 07:02:37 +0000462
463 __swig_getmethods__["signed"] = GetValueAsSigned
Greg Clayton2a94be12012-06-29 22:00:42 +0000464 if _newclass: signed = property(GetValueAsSigned, None, doc='''A read only property that returns the value of this SBValue as a signed integer.''')
Greg Claytond62b9c12012-02-03 07:02:37 +0000465
466 def get_expr_path(self):
467 s = SBStream()
468 self.GetExpressionPath (s)
469 return s.GetData()
470
471 __swig_getmethods__["path"] = get_expr_path
Greg Clayton2a94be12012-06-29 22:00:42 +0000472 if _newclass: path = property(get_expr_path, None, doc='''A read only property that returns the expression path that one can use to reach this value in an expression.''')
Greg Clayton1b925202012-01-29 06:07:39 +0000473 %}
474
Johnny Chen854a1ba2011-07-18 19:08:30 +0000475};
476
477} // namespace lldb