KDevelop API Documentation

NameAST Class Reference

#include <ast.h>

Inheritance diagram for NameAST:

AST 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.

Referenced by Parser::parseName(), NamespaceAliasAST::setAliasName(), DeclaratorAST::setDeclaratorId(), TypeParameterAST::setName(), BaseSpecifierAST::setName(), TypeSpecifierAST::setName(), UsingDirectiveAST::setName(), and UsingAST::setName().


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 addClassOrNamespaceName(), and m_classOrNamespaceNameList.

Referenced by addClassOrNamespaceName().

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, and setGlobal().

Referenced by setGlobal().

void NameAST::setUnqualifiedName ClassOrNamespaceNameAST::Node unqualifiedName  ) 
 

Definition at line 212 of file ast.cpp.

References m_unqualifiedName, ClassOrNamespaceNameAST::Node, and setUnqualifiedName().

Referenced by setUnqualifiedName().

QString NameAST::text  )  const [virtual]
 

Reimplemented from AST.

Definition at line 227 of file ast.cpp.

References m_classOrNamespaceNameList, m_global, 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.

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(), and text().

ClassOrNamespaceNameAST::Node NameAST::m_unqualifiedName [private]
 

Definition at line 372 of file ast.h.

Referenced by setUnqualifiedName(), and text().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:04 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003