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