KDevelop API Documentation

NameAST Class Reference

#include <ast.h>

Inheritance diagram for NameAST:

Inheritance graph
[legend]
Collaboration diagram for NameAST:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::auto_ptr< NameASTNode
enum  { Type = NodeType_Name }

Public Member Functions

 NameAST ()
bool isGlobal () const
void setGlobal (bool b)
void addClassOrNamespaceName (ClassOrNamespaceNameAST::Node &classOrNamespaceName)
QPtrList< ClassOrNamespaceNameASTclassOrNamespaceNameList ()
ClassOrNamespaceNameASTunqualifiedName ()
void setUnqualifiedName (ClassOrNamespaceNameAST::Node &unqualifiedName)
virtual QString text () const

Private Member Functions

 NameAST (const NameAST &source)
void operator= (const NameAST &source)

Private Attributes

bool m_global
ClassOrNamespaceNameAST::Node m_unqualifiedName
QPtrList< ClassOrNamespaceNameASTm_classOrNamespaceNameList

Member Typedef Documentation

typedef std::auto_ptr<NameAST> NameAST::Node
 

Reimplemented from AST.

Definition at line 351 of file ast.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Type 

Definition at line 352 of file ast.h.


Constructor & Destructor Documentation

NameAST::NameAST  ) 
 

Definition at line 201 of file ast.cpp.

References m_classOrNamespaceNameList.

NameAST::NameAST const NameAST source  )  [private]
 


Member Function Documentation

void NameAST::addClassOrNamespaceName ClassOrNamespaceNameAST::Node classOrNamespaceName  ) 
 

Definition at line 218 of file ast.cpp.

References m_classOrNamespaceNameList.

QPtrList<ClassOrNamespaceNameAST> NameAST::classOrNamespaceNameList  )  [inline]
 

Definition at line 363 of file ast.h.

Referenced by TagCreator::parseBaseClause(), TagCreator::scopeOfDeclarator(), and scopeOfNode().

bool NameAST::isGlobal  )  const [inline]
 

Definition at line 359 of file ast.h.

Referenced by TagCreator::scopeOfDeclarator().

void NameAST::operator= const NameAST source  )  [private]
 

void NameAST::setGlobal bool  b  ) 
 

Definition at line 207 of file ast.cpp.

References m_global.

void NameAST::setUnqualifiedName ClassOrNamespaceNameAST::Node unqualifiedName  ) 
 

Definition at line 212 of file ast.cpp.

References m_unqualifiedName.

QString NameAST::text  )  const [virtual]
 

Reimplemented from AST.

Definition at line 227 of file ast.cpp.

References m_classOrNamespaceNameList, and m_unqualifiedName.

Referenced by declaratorToString(), StoreWalker::parseBaseClause(), TagCreator::parseClassSpecifier(), StoreWalker::parseClassSpecifier(), TagCreator::parseEnumSpecifier(), TagCreator::parseTypedef(), StoreWalker::parseTypedef(), TagCreator::parseUsingDirective(), and ComputeRecoveryPoints::parseUsingDirective().

ClassOrNamespaceNameAST* NameAST::unqualifiedName  )  [inline]
 

Definition at line 365 of file ast.h.

References m_unqualifiedName.

Referenced by TagCreator::parseBaseClause(), StoreWalker::parseClassSpecifier(), StoreWalker::parseDeclaration(), TagCreator::parseFunctionDeclaration(), StoreWalker::parseFunctionDeclaration(), TagCreator::parseFunctionDefinition(), StoreWalker::parseFunctionDefinition(), TagCreator::parseMyDeclaration(), and StoreWalker::parseUsingDirective().


Member Data Documentation

QPtrList<ClassOrNamespaceNameAST> NameAST::m_classOrNamespaceNameList [private]
 

Definition at line 373 of file ast.h.

Referenced by addClassOrNamespaceName(), NameAST(), and text().

bool NameAST::m_global [private]
 

Definition at line 371 of file ast.h.

Referenced by setGlobal().

ClassOrNamespaceNameAST::Node NameAST::m_unqualifiedName [private]
 

Definition at line 372 of file ast.h.

Referenced by setUnqualifiedName(), text(), and unqualifiedName().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:44:25 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003