clang-tags
C/C++ source code indexing tool based on libclang
|
Public Member Functions | |
Indexer (const std::string &fileName, const std::vector< std::string > &exclude, Storage &storage, std::ostream &cout) | |
CXChildVisitResult | visit (LibClang::Cursor cursor, LibClang::Cursor parent) |
visit a cursor in the AST and decide what to do next | |
Public Member Functions inherited from LibClang::Visitor< Indexer > | |
unsigned int | visitChildren (const Cursor &top) |
visit an AST |
|
inlinevirtual |
visit a cursor in the AST and decide what to do next
This method visits a Cursor in the AST, and returns a code indicating which action should be taken next:
CXChildVisit_Recurse:
continue recursively visiting the ASTCXChildVisit_Continue:
continue visiting the AST, but don't recurse into the current cursors childrenCXChildVisit_Break:
stop traversing the ASTcursor | |
parent |
Implements LibClang::Visitor< Indexer >.