Skip to content

SageInterface::prependStatement

Prepend a statement to the beginning of the current scope, handling side effects as appropriate

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
prependStatement(
    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