@@ -5767,19 +5767,19 @@ class SBLineEntry:
5767
5767
r"""__ne__(SBLineEntry self, SBLineEntry rhs) -> bool"""
5768
5768
...
5769
5769
5770
- def GetDescription (self , description ) :
5770
+ def GetDescription (self , description : SBStream ) -> bool :
5771
5771
r"""GetDescription(SBLineEntry self, SBStream description) -> bool"""
5772
5772
...
5773
5773
5774
- def __repr__ (self ):
5774
+ def __repr__ (self ) -> str :
5775
5775
r"""__repr__(SBLineEntry self) -> std::string"""
5776
5776
...
5777
5777
5778
- file = ...
5779
- line = ...
5780
- column = ...
5781
- addr = ...
5782
- end_addr = ...
5778
+ file : SBFileSpec = ...
5779
+ line : int = ...
5780
+ column : int = ...
5781
+ addr : SBAddress = ...
5782
+ end_addr : SBAddress = ...
5783
5783
def __eq__ (self , rhs ) -> bool :
5784
5784
...
5785
5785
@@ -6259,31 +6259,31 @@ class SBModule:
6259
6259
"""
6260
6260
...
6261
6261
6262
- def GetNumSymbols (self ):
6262
+ def GetNumSymbols (self ) -> int :
6263
6263
r"""GetNumSymbols(SBModule self) -> size_t"""
6264
6264
...
6265
6265
6266
- def GetSymbolAtIndex (self , idx ):
6266
+ def GetSymbolAtIndex (self , idx ) -> SBSymbol :
6267
6267
r"""GetSymbolAtIndex(SBModule self, size_t idx) -> SBSymbol"""
6268
6268
...
6269
6269
6270
- def FindSymbol (self , * args ):
6270
+ def FindSymbol (self , * args ) -> SBSymbol :
6271
6271
r"""FindSymbol(SBModule self, char const * name, lldb::SymbolType type=eSymbolTypeAny) -> SBSymbol"""
6272
6272
...
6273
6273
6274
- def FindSymbols (self , * args ):
6274
+ def FindSymbols (self , * args ) -> SBSymbolContextList :
6275
6275
r"""FindSymbols(SBModule self, char const * name, lldb::SymbolType type=eSymbolTypeAny) -> SBSymbolContextList"""
6276
6276
...
6277
6277
6278
- def GetNumSections (self ):
6278
+ def GetNumSections (self ) -> int :
6279
6279
r"""GetNumSections(SBModule self) -> size_t"""
6280
6280
...
6281
6281
6282
- def GetSectionAtIndex (self , idx ):
6282
+ def GetSectionAtIndex (self , idx ) -> SBSection :
6283
6283
r"""GetSectionAtIndex(SBModule self, size_t idx) -> SBSection"""
6284
6284
...
6285
6285
6286
- def FindFunctions (self , * args ):
6286
+ def FindFunctions (self , * args ) -> SBSymbolContextList :
6287
6287
r"""
6288
6288
FindFunctions(SBModule self, char const * name, uint32_t name_type_mask=eFunctionNameTypeAny) -> SBSymbolContextList
6289
6289
@@ -6344,23 +6344,23 @@ class SBModule:
6344
6344
"""
6345
6345
...
6346
6346
6347
- def FindFirstType (self , name ):
6347
+ def FindFirstType (self , name ) -> SBType :
6348
6348
r"""FindFirstType(SBModule self, char const * name) -> SBType"""
6349
6349
...
6350
6350
6351
- def FindTypes (self , type ):
6351
+ def FindTypes (self , type ) -> SBTypeList :
6352
6352
r"""FindTypes(SBModule self, char const * type) -> SBTypeList"""
6353
6353
...
6354
6354
6355
- def GetTypeByID (self , uid ):
6355
+ def GetTypeByID (self , uid ) -> SBType :
6356
6356
r"""GetTypeByID(SBModule self, lldb::user_id_t uid) -> SBType"""
6357
6357
...
6358
6358
6359
- def GetBasicType (self , type ):
6359
+ def GetBasicType (self , type ) -> SBType :
6360
6360
r"""GetBasicType(SBModule self, lldb::BasicType type) -> SBType"""
6361
6361
...
6362
6362
6363
- def GetTypes (self , * args ):
6363
+ def GetTypes (self , * args ) -> SBTypeList :
6364
6364
r"""
6365
6365
GetTypes(SBModule self, uint32_t type_mask=eTypeClassAny) -> SBTypeList
6366
6366
@@ -8607,19 +8607,19 @@ class SBSymbolContextList:
8607
8607
...
8608
8608
8609
8609
__bool__ = ...
8610
- def IsValid (self ):
8610
+ def IsValid (self ) -> bool :
8611
8611
r"""IsValid(SBSymbolContextList self) -> bool"""
8612
8612
...
8613
8613
8614
- def GetSize (self ):
8614
+ def GetSize (self ) -> int :
8615
8615
r"""GetSize(SBSymbolContextList self) -> uint32_t"""
8616
8616
...
8617
8617
8618
- def GetContextAtIndex (self , idx ):
8618
+ def GetContextAtIndex (self , idx ) -> SBSymbolContext :
8619
8619
r"""GetContextAtIndex(SBSymbolContextList self, uint32_t idx) -> SBSymbolContext"""
8620
8620
...
8621
8621
8622
- def GetDescription (self , description ) :
8622
+ def GetDescription (self , description : SBStream ) -> bool :
8623
8623
r"""GetDescription(SBSymbolContextList self, SBStream description) -> bool"""
8624
8624
...
8625
8625
@@ -8634,7 +8634,7 @@ class SBSymbolContextList:
8634
8634
r"""Clear(SBSymbolContextList self)"""
8635
8635
...
8636
8636
8637
- def __repr__ (self ):
8637
+ def __repr__ (self ) -> str :
8638
8638
r"""__repr__(SBSymbolContextList self) -> std::string"""
8639
8639
...
8640
8640
@@ -8643,10 +8643,10 @@ class SBSymbolContextList:
8643
8643
object.'''
8644
8644
...
8645
8645
8646
- def __len__ (self ): # -> int:
8646
+ def __len__ (self ) -> int :
8647
8647
...
8648
8648
8649
- def __getitem__ (self , key ):
8649
+ def __getitem__ (self , key ) -> SBSymbolContext :
8650
8650
...
8651
8651
8652
8652
def get_module_array (self ): # -> list[Any]:
@@ -11652,27 +11652,27 @@ class SBTypeList:
11652
11652
...
11653
11653
11654
11654
__bool__ = ...
11655
- def IsValid (self ):
11655
+ def IsValid (self ) -> bool :
11656
11656
r"""IsValid(SBTypeList self) -> bool"""
11657
11657
...
11658
11658
11659
- def Append (self , type ):
11659
+ def Append (self , type : SBType ):
11660
11660
r"""Append(SBTypeList self, SBType type)"""
11661
11661
...
11662
11662
11663
- def GetTypeAtIndex (self , index ):
11663
+ def GetTypeAtIndex (self , index ) -> SBType :
11664
11664
r"""GetTypeAtIndex(SBTypeList self, uint32_t index) -> SBType"""
11665
11665
...
11666
11666
11667
- def GetSize (self ):
11667
+ def GetSize (self ) -> int :
11668
11668
r"""GetSize(SBTypeList self) -> uint32_t"""
11669
11669
...
11670
11670
11671
- def __iter__ (self ): # -> Generator[Any, Any, None ]:
11671
+ def __iter__ (self ) -> Iterator [ SBType ]:
11672
11672
'''Iterate over all types in a lldb.SBTypeList object.'''
11673
11673
...
11674
11674
11675
- def __len__ (self ):
11675
+ def __len__ (self ) -> int :
11676
11676
'''Return the number of types in a lldb.SBTypeList object.'''
11677
11677
...
11678
11678
0 commit comments