Skip to content

SageInterface::appendStatement

Append a statement 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
appendStatement(
    SgStatement* stmt,
    SgScopeStatement* scope = NULL);

Parameters

Name

Description

stmt

This class represents the notion of a statement.

scope

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

Created with MrDocs