ast_utils.cpp File Reference
#include "ast_utils.h"
#include "ast.h"
#include <qstringlist.h>
#include <qregexp.h>
#include <klocale.h>
#include <kdebug.h>
#include <kapplication.h>
#include <ktexteditor/editinterface.h>
Include dependency graph for ast_utils.cpp:

Go to the source code of this file.
Functions | |
AST * | findNodeAt (AST *node, int line, int column) |
void | scopeOfNode (AST *ast, QStringList &scope) |
QString | typeSpecToString (TypeSpecifierAST *typeSpec) |
QString | declaratorToString (DeclaratorAST *declarator, const QString &scope, bool skipPtrOp) |
Function Documentation
|
|
Definition at line 24 of file ast_utils.cpp. References AST::children(), AST::getEndPosition(), and AST::getStartPosition(). Referenced by CppCodeCompletion::completeText(), CppSupportPart::MakeMemberHelper(), and CppSupportPart::slotNeedTextHint(). |
|
Definition at line 57 of file ast_utils.cpp. References NameAST::classOrNamespaceNameList(), InitDeclaratorAST::declarator(), DeclaratorAST::declaratorId(), FunctionDefinitionAST::initDeclarator(), AST::nodeType(), NodeType_ClassSpecifier, NodeType_FunctionDefinition, NodeType_Namespace, AST::parent(), and AST::text(). Referenced by CppCodeCompletion::completeText(), and CppSupportPart::MakeMemberHelper(). |
|
Definition at line 110 of file ast_utils.cpp. References TypeSpecifierAST::text(). Referenced by declaratorToString(), and CppSupportPart::MakeMemberHelper(). |