Class class
Public Member functions Summary: | |
constructor | Class(SourceFile* file, int line, const std::string& type, const ScopedName& name) Constructor [Source] |
virtual destructor | ~Class() Destructor. [Source] |
virtual void | accept(Visitor*) Accepts the given AST::Visitor [Source] |
const Inheritance::vector& | parents() Constant version of parents() [Source] |
Inheritance::vector& | parents() Returns the vector of parent Inheritance objects. [Source] |
Types::Template* | template_type() Returns the Template object if this is a template [Source] |
void | set_template_type(Types::Template* type) Sets the Template object for this class. [Source] |
Private Data members Summary: | |
Inheritance::vector | m_parents The vector of parent Inheritance objects [Source] |
Types::Template* | m_template The Template Type for this class if it's a template [Source] |
Public Member functions Inherited from Scope | |
declarations, declarations |
Public Typedefs Inherited from Declaration | |
vector |
Public Member functions Inherited from Declaration | |
name, name, file, set_file, line, type, set_type, access, set_access, comments, comments, declared, declared |
Public Data members Inherited from FakeGC::cleanup | |
cleanup_next |
Public Member function Details: |
Destructor. Recursively destroys Inheritance objects
Returns the vector of parent Inheritance objects. The vector returned is the private member vector of this Class, so modifications will affect the Class.
Sets the Template object for this class. NULL means not a template