Function declaration. Note that function names are stored in mangled form to allow overriding. Formatters should use the realname() method to extract the unmangled name.
Operations Summary: | |
__init__(self, file, line, language, type, premod, returnType, name, realname) [Source] | |
premodifier(self) List of premodifiers such as 'oneway' [Source] | |
returnType(self) Type object for the return type of this function [Source] | |
realname(self) The unmangled scoped name tuple of this function [Source] | |
parameters(self) The list of Parameter objects of this function [Source] | |
postmodifier(self) The list of postmodifier strings [Source] | |
exceptions(self) The list of exception Types [Source] | |
template(self) The Template Type if this is a template, or None [Source] | |
set_template(self, template) [Source] | |
accept(self, visitor) [Source] | |
set_returnType(self, type) [Source] | |
__cmp__(self, other) Recursively compares the typespec of the function [Source] |
Operations Inherited from Declaration | |
file, line, language, type, name, comments, accessibility, set_name, set_accessibility |