ReadAstTraverse¶
Traverse an entire AST, where (op) is invoked on each AST node to gather information.
Synopsis¶
Declared in <src/midend/astUtil/astInterface/AstInterface.h>
bool
ReadAstTraverse(
AstInterface& fa,
AstNodePtr const& root,
ProcessAstNode<AstNodePtr>& op,
AstInterface::TraversalOrderType t = AstInterface::PreOrder); Parameters¶
| Name | Description |
|---|---|
| fa | provides an abstract interface to access/modify AST nodes. |
| op | Interface class for processing each AstNode from within the ReadAstTraverse function. |
Created with MrDocs