ClangAST

Wrap a clang cursor. No restrictions on what type of cursor it is. Accept a Visitor. During accept traverse the AST to: - wrap Cursors's in specific classes corresponding to the kind of cursor. - call Visitor's visit(...) with wrapped cursor.

Starts traversing the AST from the root.

Optional functions: void incr(). Called before descending a node. void decr(). Called after ascending a node.

Members

Functions

accept
void accept(VisitorT visitor)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

root
Cursor root;
Undocumented in source.

Meta