SageInterface::replaceExpression¶
Replace an expression with another, used for variable reference substitution and others. the old expression can be deleted (default case) or kept.
Synopsis¶
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility("default")]]
void
replaceExpression(
SgExpression* oldExp,
SgExpression* newExp,
bool keepOldExp = false); Parameters¶
| Name | Description |
|---|---|
| oldExp | This class represents the notion of an expression. Expressions |
| newExp | This class represents the notion of an expression. Expressions |
Created with MrDocs