xref: /llvm-project/lldb/bindings/interface/SBExecutionContextExtensions.i (revision 380c5da98efa62920e9fbf3aa9a4fa8add236fb9)
1*662548c8SAlex Langford %extend lldb::SBExecutionContext {
2*662548c8SAlex Langford #ifdef SWIGPYTHON
3*662548c8SAlex Langford     %pythoncode %{
4*662548c8SAlex Langford         target = property(GetTarget, None, doc='''A read only property that returns the same result as GetTarget().''')
5*662548c8SAlex Langford         process = property(GetProcess, None, doc='''A read only property that returns the same result as GetProcess().''')
6*662548c8SAlex Langford         thread = property(GetThread, None, doc='''A read only property that returns the same result as GetThread().''')
7*662548c8SAlex Langford         frame = property(GetFrame, None, doc='''A read only property that returns the same result as GetFrame().''')
8*662548c8SAlex Langford     %}
9*662548c8SAlex Langford #endif
10*662548c8SAlex Langford }
11