1 //===-- SWIG Interface for SBDeclaration --------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 "Specifies an association with a line and column for a variable."
20 SBDeclaration (const lldb::SBDeclaration &rhs);
27 explicit operator bool() const;
39 GetDescription (lldb::SBStream &description);
42 SetFileSpec (lldb::SBFileSpec filespec);
45 SetLine (uint32_t line);
48 SetColumn (uint32_t column);
51 operator == (const lldb::SBDeclaration &rhs) const;
54 operator != (const lldb::SBDeclaration &rhs) const;
56 STRING_EXTENSION(SBDeclaration)
60 file = property(GetFileSpec, None, doc='''A read only property that returns an lldb object that represents the file (lldb.SBFileSpec) for this line entry.''')
61 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.''')
62 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.''')