Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
namespace Synopsis::Parser::C++::AST
class Class
Files: Synopsis/Parser/C++/syn/ast.hh
Class-inheritance Scopes/Synopsis/Parser/C++/AST/Scope.html Scopes/Synopsis/Parser/C++/AST/Declaration.html Scopes/Synopsis/Parser/C++/FakeGC/cleanup.html

Class class


Public Member functions Summary:
 constructorClass(SourceFile* file, int line, const std::string& type, const ScopedName& name)
Constructor [Source]
virtual destructor~Class()
Destructor. [Source]
virtual voidaccept(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]
 voidset_template_type(Types::Template* type)
Sets the Template object for this class. [Source]

Private Data members Summary:
Inheritance::vectorm_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:
virtual destructor ~Class()

Destructor. Recursively destroys Inheritance objects


Inheritance::vector& parents()

Returns the vector of parent Inheritance objects. The vector returned is the private member vector of this Class, so modifications will affect the Class.


 void set_template_type(Types::Template* type)

Sets the Template object for this class. NULL means not a template