NameAST Class Reference
#include <ast.h>
Inheritance diagram for NameAST:

Public Types | |
typedef std::auto_ptr< NameAST > | Node |
enum | { Type = NodeType_Name } |
Public Member Functions | |
NameAST () | |
bool | isGlobal () const |
void | setGlobal (bool b) |
void | addClassOrNamespaceName (ClassOrNamespaceNameAST::Node &classOrNamespaceName) |
QPtrList< ClassOrNamespaceNameAST > | classOrNamespaceNameList () |
ClassOrNamespaceNameAST * | unqualifiedName () |
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< ClassOrNamespaceNameAST > | m_classOrNamespaceNameList |
Member Typedef Documentation
|
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
|
|
Constructor & Destructor Documentation
|
Definition at line 201 of file ast.cpp. References m_classOrNamespaceNameList. |
|
|
Member Function Documentation
|
Definition at line 218 of file ast.cpp. References addClassOrNamespaceName(), and m_classOrNamespaceNameList. Referenced by addClassOrNamespaceName(). |
|
Definition at line 363 of file ast.h. Referenced by TagCreator::parseBaseClause(), TagCreator::scopeOfDeclarator(), and scopeOfNode(). |
|
Definition at line 359 of file ast.h. Referenced by TagCreator::scopeOfDeclarator(). |
|
|
|
Definition at line 207 of file ast.cpp. References m_global, and setGlobal(). Referenced by setGlobal(). |
|
Definition at line 212 of file ast.cpp. References m_unqualifiedName, ClassOrNamespaceNameAST::Node, and setUnqualifiedName(). Referenced by setUnqualifiedName(). |
|
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(). |
|
Member Data Documentation
|
Definition at line 373 of file ast.h. Referenced by addClassOrNamespaceName(), NameAST(), and text(). |
|
Definition at line 371 of file ast.h. Referenced by setGlobal(), and text(). |
|
Definition at line 372 of file ast.h. Referenced by setUnqualifiedName(), and text(). |
The documentation for this class was generated from the following files: