xref: /freebsd/contrib/llvm-project/lldb/bindings/interface/SBDeclarationExtensions.i (revision 02e9120893770924227138ba49df1edb3896112a)
1 STRING_EXTENSION_OUTSIDE(SBDeclaration)
2 
3 %extend lldb::SBDeclaration {
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         %}
10 #endif
11 }
12