SgStatement::replace_expression¶
support general replace functions, used in statements that directly contain SgExpression IR nodes.
Synopsis¶
Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)
virtual
int
replace_expression(
SgExpression* original_expression,
SgExpression* new_expression); Parameters¶
| Name | Description |
|---|---|
| original_expression | This class represents the notion of an expression. Expressions |
| new_expression | This class represents the notion of an expression. Expressions |
Created with MrDocs