Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
ClangVisitor Class Reference
Collaboration diagram for ClangVisitor:

Public Member Functions

 ClangVisitor (QDocDatabase *qdb, const std::set< Config::HeaderFilePath > &allHeaders)
QDocDatabaseqdocDB ()
CXChildVisitResult visitChildren (CXCursor cursor)
CXChildVisitResult visitFnArg (CXCursor cursor, Node **fnNode, bool &ignoreSignature)
NodenodeForCommentAtLocation (CXSourceLocation loc, CXSourceLocation nextCommentLoc)
 Given a comment at location loc, return a Node for this comment nextCommentLoc is the location of the next comment so the declaration must be inbetween.
 ClangVisitor (QDocDatabase *qdb, const std::set< Config::HeaderFilePath > &allHeaders)
QDocDatabaseqdocDB ()
CXChildVisitResult visitChildren (CXCursor cursor)
CXChildVisitResult visitFnArg (CXCursor cursor, Node **fnNode, bool &ignoreSignature)
NodenodeForCommentAtLocation (CXSourceLocation loc, CXSourceLocation nextCommentLoc)

Detailed Description

Definition at line 772 of file clangcodeparser.cpp.

Constructor & Destructor Documentation

◆ ClangVisitor() [1/2]

ClangVisitor::ClangVisitor ( QDocDatabase * qdb,
const std::set< Config::HeaderFilePath > & allHeaders )
inline

Definition at line 775 of file clangcodeparser.cpp.

References QDocDatabase::primaryTreeRoot().

Here is the call graph for this function:

◆ ClangVisitor() [2/2]

ClangVisitor::ClangVisitor ( QDocDatabase * qdb,
const std::set< Config::HeaderFilePath > & allHeaders )
inline

Definition at line 775 of file clangcodeparser.cpp.

Member Function Documentation

◆ nodeForCommentAtLocation() [1/2]

Node * ClangVisitor::nodeForCommentAtLocation ( CXSourceLocation loc,
CXSourceLocation nextCommentLoc )

Given a comment at location loc, return a Node for this comment nextCommentLoc is the location of the next comment so the declaration must be inbetween.

Returns nullptr if no suitable declaration was found between the two comments.

Definition at line 1542 of file clangcodeparser.cpp.

Referenced by ClangCodeParser::parse_cpp_file().

Here is the caller graph for this function:

◆ nodeForCommentAtLocation() [2/2]

Node * ClangVisitor::nodeForCommentAtLocation ( CXSourceLocation loc,
CXSourceLocation nextCommentLoc )

◆ qdocDB() [1/2]

QDocDatabase * ClangVisitor::qdocDB ( )
inline

Definition at line 782 of file clangcodeparser.cpp.

◆ qdocDB() [2/2]

QDocDatabase * ClangVisitor::qdocDB ( )
inline

Definition at line 782 of file clangcodeparser.cpp.

◆ visitChildren() [1/2]

CXChildVisitResult ClangVisitor::visitChildren ( CXCursor cursor)
inline

Definition at line 784 of file clangcodeparser.cpp.

Referenced by buildPCH(), and ClangCodeParser::parse_cpp_file().

Here is the caller graph for this function:

◆ visitChildren() [2/2]

CXChildVisitResult ClangVisitor::visitChildren ( CXCursor cursor)
inline

Definition at line 784 of file clangcodeparser.cpp.

◆ visitFnArg() [1/2]

CXChildVisitResult ClangVisitor::visitFnArg ( CXCursor cursor,
Node ** fnNode,
bool & ignoreSignature )
inline

Definition at line 816 of file clangcodeparser.cpp.

Referenced by FnCommandParser::operator()().

Here is the caller graph for this function:

◆ visitFnArg() [2/2]

CXChildVisitResult ClangVisitor::visitFnArg ( CXCursor cursor,
Node ** fnNode,
bool & ignoreSignature )
inline

Definition at line 816 of file clangcodeparser.cpp.


The documentation for this class was generated from the following file: