SageInterface::replaceWithPattern
Replace an anchor node with a specified pattern subtree with optional SgVariantExpression. All SgVariantExpression in the pattern will be replaced with copies of the anchor node.
Synopsis
Return Value
This class represents the base class for all IR nodes within Sage III.
Parameters
Name |
Description |
anchor |
This class represents the base class for all IR nodes within Sage III. |
new_pattern |
This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs