|
__init__(self,
name='
' ,
location=None,
is_artificial=False,
mangled=None,
demangled=None,
attributes=None) |
source code
|
|
|
|
|
__eq__(self,
other)
function will return true, if both declarations refers to the same
object. |
source code
|
|
|
__ne__(self,
other)
return not self.__eq__( other ) |
source code
|
|
|
__lt__(self,
other)
if not isinstance( other, self.__class__ ):
return self.__class__.__name__ < other.__class__.__name__
return self._get__cmp__data() <
other._get__cmp__data() |
source code
|
|
|
create_decl_string(self,
with_defaults=True) |
source code
|
|
|
i_depend_on_them(self,
recursive=True)
return list of all types and declarations the declaration depends on |
source code
|
|
str
|
name
Declaration name
|
|
partial_name
declaration name, without template default arguments Right now std
containers is the only classes that support this functionality
|
declaration_t
|
parent
Reference to parent declaration
|
declaration_t
|
top_parent
reference to top parent declaration
|
location_t
|
location
Location of the declaration within source file
|
bool
|
is_artificial
Describes whether declaration is compiler generated or not
|
str
|
mangled
Compiler generated declaration name
|
str
|
demangled
Demangled compiler generated declaration name
|
str
|
attributes
GCCXML attributes, set using __attribute__((gccxml("...")))
|
|
decl_string
declaration full name
|
|
partial_decl_string
declaration full name
|
|
cache
implementation details
|
str
|
compiler
compiler name + version
|