Enumerations | |
| enum | NodeType { ROOT, INCLUDE_ROOT, SRC_FILE, INCLUDE_FILE, NAMESPACE, CLASS, FUNCTION, LOOP, UNKNOWN } |
| the first 4 entries are only used by beautified ast More... | |
Functions | |
| NodeType | getType (SgNode *) |
| Returns "type" of node (class,function,loop,namespace) at Sg*Definitions. | |
| QString | getShortNodeNameDesc (SgNode *node) |
| QString | getShortNodeTypeDesc (SgNode *node) |
| QIcon | nodeIcon (SgNode *) |
| icon for SgFunctionDeclaration, SgClassDeclaration... | |
| QIcon | includedFilesIcon () |
| icon with several include files | |
| QIcon | includeFileIcon () |
| icon with one include file | |
| QIcon | sourceFileIcon () |
| icon with one source-file | |
| NodeType AstDisplayInfo::getType | ( | SgNode * | node | ) |
Returns "type" of node (class,function,loop,namespace) at Sg*Definitions.
Definition at line 8 of file AstDisplayInfo.cpp.
Referenced by DisplayCallGraph::addFunction(), and BAstNode::generationVisit().
Here is the caller graph for this function:

| QString AstDisplayInfo::getShortNodeNameDesc | ( | SgNode * | ) |
Returns a short description of an Sg*Definition for named types (classes, functions etc) it returns the name if there is no adequate name for an SgNode it returns the getShortNodeTypeDesc if node is no definition it returns an empty string
Definition at line 28 of file AstDisplayInfo.cpp.
Referenced by DisplayCallGraph::addFunction(), BAstNode::generationVisit(), and QtAstModel::ModelNode::setInfo().
Here is the call graph for this function:

Here is the caller graph for this function:

| QString AstDisplayInfo::getShortNodeTypeDesc | ( | SgNode * | ) |
returns a description for SgNode-Type if SgNode is for example of type SgClassDefinition it returns "class"
Definition at line 73 of file AstDisplayInfo.cpp.
Referenced by getShortNodeNameDesc().
Here is the caller graph for this function:

| QIcon AstDisplayInfo::nodeIcon | ( | SgNode * | node | ) |
icon for SgFunctionDeclaration, SgClassDeclaration...
Definition at line 98 of file AstDisplayInfo.cpp.
Referenced by QtAstModel::ModelNode::setInfo().
Here is the caller graph for this function:

| QIcon AstDisplayInfo::includedFilesIcon | ( | ) |
| QIcon AstDisplayInfo::includeFileIcon | ( | ) |
| QIcon AstDisplayInfo::sourceFileIcon | ( | ) |
1.4.7