Skip to content

SgExecStatement

This class represents the concept of the dynamic execution of a string,

Synopsis

Declared in <src/docs/mrdocs/ast_node_docs.h>

Description

file, or code object. This node is intended for use with Python.

Data members

#### SgExecStatement::p_executable The object to be executed. This expression is evaluated and executed dynamically.

#### SgExecStatement::p_globals The global execution environment.

#### SgExecStatement::p_locals The local execution environment.

Member functions

#### SgExecStatement::SgExecStatement ( SgExpression* executable, SgExpression* globals, SgExpression* locals) This is the constructor. This constructor builds the SgExecStatement base class.

#### SgExecStatement::~SgExecStatement() This is the destructor.

#### SgExecStatement::isSgExecStatement (SgNode *s) Cast function (from derived class to SgExecStatement pointer). This functions returns a SgExecStatement pointer for any input of a pointer to an object derived from a SgExecStatement. ‐ Return: Returns valid pointer to SgExecStatement if input is derived from a SgExecStatement.

#### SgExecStatement::isSgExecStatement (const SgNode *s) Cast function (from derived class to SgExecStatement pointer). This functions returns a SgExecStatement pointer for any input of a pointer to an object derived from a SgExecStatement. ‐ Return: Returns valid pointer to SgExecStatement if input is derived from a SgExecStatement.

Created with MrDocs