Skip to content

SageInterface::insertStatementList

Insert a list of statements before or after the target statement within the

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
void
insertStatementList(
    SgStatement* targetStmt,
    std::vector<SgStatement*> const& newStmts,
    bool insertBefore = true);

Parameters

Name Description
targetStmt This class represents the notion of a statement.
newStmts A standard container which offers fixed time access to individual elements in any order.

Created with MrDocs