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


Definition at line 548 of file ast.h.
Public Types | |
| enum | |
Public Member Functions | |
| NameAST () | |
| bool | isGlobal () const |
| void | setGlobal (bool b) |
| void | addClassOrNamespaceName (ClassOrNamespaceNameAST *classOrNamespaceName) |
| List< ClassOrNamespaceNameAST * > * | classOrNamespaceNameList () const |
| ClassOrNamespaceNameAST * | unqualifiedName () const |
| void | setUnqualifiedName (ClassOrNamespaceNameAST *unqualifiedName) |
Private Member Functions | |
| NameAST (const NameAST &source) | |
| void | operator= (const NameAST &source) |
Private Attributes | |
| bool | m_global |
| ClassOrNamespaceNameAST * | m_unqualifiedName |
| List< ClassOrNamespaceNameAST * > * | m_classOrNamespaceNameList |
| anonymous enum |
| NameAST::NameAST | ( | ) |
Definition at line 64 of file ast.cpp.
00065 : m_global(false), m_unqualifiedName(0), m_classOrNamespaceNameList(0) 00066 { 00067 }
| NameAST::NameAST | ( | const NameAST & | source | ) | [private] |
| bool NameAST::isGlobal | ( | ) | const [inline] |
| void NameAST::setGlobal | ( | bool | b | ) |
| void NameAST::addClassOrNamespaceName | ( | ClassOrNamespaceNameAST * | classOrNamespaceName | ) |
Definition at line 80 of file ast.cpp.
References AST::_pool, m_classOrNamespaceNameList, and AST::setParent().
Referenced by Parser::parseName().
00081 { 00082 if(!classOrNamespaceName) 00083 return; 00084 00085 classOrNamespaceName->setParent(this); 00086 m_classOrNamespaceNameList = snoc(m_classOrNamespaceNameList, classOrNamespaceName, _pool); 00087 }
Here is the call graph for this function:

| List<ClassOrNamespaceNameAST *>* NameAST::classOrNamespaceNameList | ( | ) | const [inline] |
Definition at line 560 of file ast.h.
References m_classOrNamespaceNameList.
Referenced by TreeWalker::parseName().
00560 { return m_classOrNamespaceNameList; }
| ClassOrNamespaceNameAST* NameAST::unqualifiedName | ( | ) | const [inline] |
Definition at line 562 of file ast.h.
References m_unqualifiedName.
Referenced by Semantic::parseClassSpecifier(), Semantic::parseElaboratedTypeSpecifier(), Semantic::parseEnumSpecifier(), Semantic::parseFunctionArguments(), Semantic::parseFunctionDeclaration(), TreeWalker::parseName(), Semantic::parseTypedef(), Semantic::parseUsing(), Semantic::parseUsingDirective(), and setUnqualifiedName().
00562 { return m_unqualifiedName; }
| void NameAST::setUnqualifiedName | ( | ClassOrNamespaceNameAST * | unqualifiedName | ) |
Definition at line 74 of file ast.cpp.
References m_unqualifiedName, AST::setParent(), and unqualifiedName().
Referenced by Parser::parseName().
00075 { 00076 m_unqualifiedName = unqualifiedName; 00077 if (m_unqualifiedName) m_unqualifiedName->setParent(this); 00078 }
Here is the call graph for this function:

| void NameAST::operator= | ( | const NameAST & | source | ) | [private] |
bool NameAST::m_global [private] |
List<ClassOrNamespaceNameAST *>* NameAST::m_classOrNamespaceNameList [private] |
Definition at line 568 of file ast.h.
Referenced by addClassOrNamespaceName(), and classOrNamespaceNameList().
1.5.1