1*06c3fb27SDimitry Andric STRING_EXTENSION_OUTSIDE(SBSymbolContext) 2*06c3fb27SDimitry Andric 3*06c3fb27SDimitry Andric %extend lldb::SBSymbolContext { 4*06c3fb27SDimitry Andric #ifdef SWIGPYTHON 5*06c3fb27SDimitry Andric %pythoncode %{ 6*06c3fb27SDimitry Andric module = property(GetModule, SetModule, doc='''A read/write property that allows the getting/setting of the module (lldb.SBModule) in this symbol context.''') 7*06c3fb27SDimitry Andric compile_unit = property(GetCompileUnit, SetCompileUnit, doc='''A read/write property that allows the getting/setting of the compile unit (lldb.SBCompileUnit) in this symbol context.''') 8*06c3fb27SDimitry Andric function = property(GetFunction, SetFunction, doc='''A read/write property that allows the getting/setting of the function (lldb.SBFunction) in this symbol context.''') 9*06c3fb27SDimitry Andric block = property(GetBlock, SetBlock, doc='''A read/write property that allows the getting/setting of the block (lldb.SBBlock) in this symbol context.''') 10*06c3fb27SDimitry Andric symbol = property(GetSymbol, SetSymbol, doc='''A read/write property that allows the getting/setting of the symbol (lldb.SBSymbol) in this symbol context.''') 11*06c3fb27SDimitry Andric line_entry = property(GetLineEntry, SetLineEntry, doc='''A read/write property that allows the getting/setting of the line entry (lldb.SBLineEntry) in this symbol context.''') 12*06c3fb27SDimitry Andric %} 13*06c3fb27SDimitry Andric #endif 14*06c3fb27SDimitry Andric } 15