Function replaceAssignmentStmtWithStatement

Function replaceAssignmentStmtWithStatement#

Function Documentation#

void replaceAssignmentStmtWithStatement(SgExprStatement *from, SageInterface::StatementGenerator *to)#

Replace an assignment statement with the result of a statement generator. Assumptions: from has assignment expr at top level of statement from is not in the test of a loop or if statement not currently traversing from.