Skip to content

SageInterface::prependStatement

All overloads of SageInterface::prependStatement

Prepend a statement to the beginning of an explicit lexical scope, handling side effects as appropriate.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
void
prependStatement(
    SgStatement* stmt,
    SgScopeStatement* scope);

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