Skip to content

SageInterface::appendStatementList

Append a list of statements to the end of the current scope, handle side effect of appending statements, e.g. preprocessing info, defining/nondefining pointers etc.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
appendStatementList(
    std::vector<SgStatement*> const& stmt,
    SgScopeStatement* scope = NULL);

Parameters

Name

Description

stmt

A standard container which offers fixed time access to individual elements in any order.

scope

This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs