SageInterface::deleteAST¶
All overloads of SageInterface::deleteAST
Notify indexes of the complete unprotected deletion boundary after proof, before destruction. The callback must not change AST references.
Synopsis¶
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility("default")]]
void
deleteAST(
std::vector<SgNode*> const& roots,
DeleteAstMode mode,
std::function<void(std::unordered_set<SgNode*> const&)> const& before_delete); Parameters¶
| Name | Description |
|---|---|
| roots | A standard container which offers fixed time access to individual elements in any order. |
| mode | Function to delete AST subtree's nodes only, users must take care of any dangling pointers, symbols or types that result. |
Created with MrDocs