xref: /freebsd/contrib/llvm-project/lldb/bindings/interface/SBLineEntryExtensions.i (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 STRING_EXTENSION_OUTSIDE(SBLineEntry)
2 
3 %extend lldb::SBLineEntry {
4 #ifdef SWIGPYTHON
5     %pythoncode %{
6         file = property(GetFileSpec, None, doc='''A read only property that returns an lldb object that represents the file (lldb.SBFileSpec) for this line entry.''')
7         line = property(GetLine, None, doc='''A read only property that returns the 1 based line number for this line entry, a return value of zero indicates that no line information is available.''')
8         column = property(GetColumn, None, doc='''A read only property that returns the 1 based column number for this line entry, a return value of zero indicates that no column information is available.''')
9         addr = property(GetStartAddress, None, doc='''A read only property that returns an lldb object that represents the start address (lldb.SBAddress) for this line entry.''')
10         end_addr = property(GetEndAddress, None, doc='''A read only property that returns an lldb object that represents the end address (lldb.SBAddress) for this line entry.''')
11     %}
12 #endif
13 }
14