Skip to content

SgListExp

This class represents a list display.

Synopsis

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

class SgListExp;

Description

This class represents the concept of a list object in the input language. Currently, this IR node only works with Python input files. For other languages, see SgExprListExp.

Data members

#### SgListExp::p_elements The list of elements contained in this list.

Member functions

#### SgListExp::SgListExp () This is the constructor. This constructor builds the SgListExp base class.

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

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

Created with MrDocs