Skip to content

SageInterface::replaceExpressionWithStatement

Replace a given expression with a list of statements produced by a generator

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
replaceExpressionWithStatement(
    SgExpression* from,
    SageInterface::StatementGenerator* to);

Parameters

Name

Description

from

This class represents the notion of an expression. Expressions

to

Interface for creating a statement whose computation writes its answer into a given variable.

Created with MrDocs