Skip to content

TransformAstTraverse

All overloads of TransformAstTraverse

Traverse and transform an entire AST, where (op) is invoked to transform each sub-Tree.

Synopsis

Declared in <src/midend/astUtil/astInterface/AstInterface.h>

AstNodePtr
TransformAstTraverse(
    AstInterface& fa,
    AstNodePtr const& r,
    bool(* op)(AstInterface&, AstNodePtr const&, AstNodePtr&),
    AstInterface::TraversalVisitType t = AstInterface::PreVisit);

Parameters

Name Description
fa provides an abstract interface to access/modify AST nodes.

Created with MrDocs