Skip to content

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]]
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