languages/cpp/ast_utils.h File Reference
#include <qstring.h>
Go to the source code of this file.
Namespaces | |
namespace | KTextEditor |
Functions | |
AST * | findNodeAt (AST *unit, int line, int column) |
void | scopeOfNode (AST *ast, QStringList &) |
QString | typeSpecToString (TypeSpecifierAST *typeSpec) |
QString | declaratorToString (DeclaratorAST *declarator, const QString &scope=QString::null, bool skipPtrOp=false) |
Function Documentation
|
|
Definition at line 24 of file ast_utils.cpp. References AST::children(), AST::getEndPosition(), and AST::getStartPosition(). Referenced by CppCodeCompletion::completeText(), CppSupportPart::slotMakeMember(), 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::slotMakeMember(). |
|
Definition at line 110 of file ast_utils.cpp. References TypeSpecifierAST::text(). Referenced by declaratorToString(), and CppSupportPart::slotMakeMember(). |